protocol buffers - Using Python, how do I get a binary serialization of my Google protobuf message? -


I see the function SerializeAsString, but as this suggests, it gives me a string version of binary data Is there a way to serialize and parse the binary array of protobf data using Python?

We have a C ++ application which stores the protob message as a binary data in a file. We want to use Python to read and write files.

Python wire can hold binary data, hence SerializeAsString binary data gives.


Comments

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

excel - Populate list via a bi-Condition -