SkybowAlexandra / protobuf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

double double 64位浮点数 float float 32位浮点数 int32 int 32位整数 int64 long 64位整数 uint32 unsigned int 32位无符号整数 uint64 unsigned long 64位无符号整数 sint32 signed int 32位整数,处理负数效率比int32更高 sint64 signed long 64位整数,处理负数效率比int64更高 fixed32 unsigned int(32位) 总是4个字节。如果数值总是比总是比228大的话,这个类型会比uint32高效。 fixed64 unsigned long(64位) 总是8个字节。如果数值总是比总是比256大的话,这个类型会比uint64高效。 sfixed32 int (32位) 总是4个字节 sfixed64 long (64位) 总是8个字节 bool bool 布尔类型 string string 一个字符串必须是UTF-8编码或者7-bit ASCII编码的文本 bytes string 处理多字节的语言字符、如中文, 建议protobuf中字符型类型使用 bytes enum enum 枚举 message object of class 自定义的消息类型

About


Languages

Language:CMake 69.3%Language:C++ 30.7%