April 2024
Intermediate to advanced
226 pages
4h 24m
English
Now that we know the Protobuf syntax and the text format, we can finally get our hands dirty and play with the Protobuf compiler. In this section, we are going to generate code from .proto files, get binary from Protobuf text format, and get text from Protobuf serialized data (binary files).
In this chapter, we’re going to cover the following main topics:
By the end of this chapter, you will know how to use protoc’s main flags. You will know how to generate C++ (or any other ...