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 自定义的消息类型
protobuf's Introduction
protobuf's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.