Inter-process communication in unity-using protobuf-net serialization and deserialization

Source: Internet
Author: User
Realization of network transmission based on PROTOBUF Protocol (UP)

PROTOBUF full Name protocol buffers is a lightweight and efficient structured data storage format that can be used for structured data serialization and is ideal for data storage or RPC data interchange formats.

1. It can be used in communication protocol, data storage and other fields of the language-independent, platform-independent, extensible serialization structure data format.

2. The API is currently available in C + +, Java, Python, C # and many other languages.

3. Protobuf is the Google Open source serialization and deserialization tool, which is mainly used in the definition of the message structure of the online game. It performs better and more efficiently relative to XML files and JSON files,

4. In the website http://code.google.com/p/protobuf/downloads/list can download protobuf source code, its file format is the file with the extension of. Proto.

Because PROTOBUF does not support. Net3.5 and the following versions, if you want to use it in Unity3d, you need to use a third-party protobuf-net library.

Protobuf-net is also open source, the project address is as follows: Https://github.com/mgravell/protobuf-net

Inter-process communication in unity-using protobuf-net serialization and deserialization

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.