File extension for serial output protobuf
1 answer
I'm just using .bin, but there is no real standard here AFAIK. If protoc -o
(which emits a .proto schema in protobuf binary format FileDescriptorSet
) took a directory similar to all the other out parameters, we could use that as a de facto answer, but protoc -o
unusual in that it takes a file instead. In an old post by the protobuf group, Kenton Warda (one of the authors) suggests that the file extension should be implementation-specific (which means: you decided), and not just reference the format: https://groups.google.com/forum/# ! theme / Protobuf / JWZx9n8CUvw
+5
source to share