数据范围
int(long):-231-1~231-1
unsigned int:0~2^32-1
long long:-263-1~263-1
unsigned long:0~2^64-1
gdal中
GIntBig:long long
GUIntBig:unsigned long long
OFTInteger64:long long
数据转换
数据转char*:int sprintf( char *buffer,const char format,… )
char转数据:int sscanf (const char *str,const char * format,…)
format:“%”[index “:”][“-”][“width”][“.” prec] type
type:“d”,“u”,“ll”,“ull”,“f”,“lf”–>int,unsigned int,long long,unsigned long long,float,double