字节 | 取值范围 | |||
u8 | uint8_t | unsigned char | 1 | 0~255 |
u16 | uint16_t | unsigned short(int) | 2 | 0~65535 |
u32 | uint32_t | unsigned long(int) | 4 | 0~4294967295 |
字节 | 取值范围 | |||
s8 | int8_t | signed char | 1 | -128~127 |
s16 | int16_t | signed short(int) | 2 | -32768~32767 |
s32 | int32_t | signed long(int) | 4 | -2147483648~2147483647 |