Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to Protocol Buffers

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Document editing and continuous integration status:

The Protocol Buffer Chinese documents of this document are orchestrated by Asciidoctor.

Http://docs.ossez.com/protocol-buffers-docs/index.html (the content in this WIKI will be synchronized with the version released online)

Google Protocol Buffer (Protobuf for short) is a mixed language data standard within Google, which has more than 48162 message format definitions and more than 12183 .proto files.

Protocol Buffer related fast navigation

Link name

Link address

Protocol Buffer Chinese documentation http://docs.ossez.com/protocol-buffers-docs/index.html official documentation https://developers.google.com/protocol-buffers/docs/overview sample and test code https://github.com/cwiki-us-demo/protocol-buffers-demo-java

If you search on the Internet, you may see the following description.

Google Protocol Buffer (Protobuf for short) is a mixed language data standard within Google, which has more than 48162 message format definitions and more than 12183 .proto files.

They are used in RPC systems and continuous data storage systems.

Protocol Buffers is a lightweight and efficient structured data storage format that can be used for structured data serialization, or serialization.

It is very suitable for data storage or RPC data exchange format. Can be used in communication protocols, data storage and other fields of language-independent, platform-independent, extensible serialized structural data format.

API in C++, Java and Python is currently available.

In the actual data processing, we need to use JSON to serialize the data, but also considering that the data of JSON is too large when it is transferred, and there are a lot of junk files that are not needed. We just took into account the features provided by Protocol Buffer.

Data serialization and deserialization

Serialization: the process of converting data structures or objects into binary strings.

Deserialization: the process of converting a binary string generated during serialization into a data structure or object.

Https://www.cwiki.us/display/ProtocolBuffers/Protocol+Buffers

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report