Printing binary contents
To figure out what is in the binary file generated from the program, you can use the following command:
$ protoc --decode Test --proto_path=. test.proto < test.bin
Which should result in:
id: 1
To figure out what is in the binary file generated from the program, you can use the following command:
$ protoc --decode Test --proto_path=. test.proto < test.bin
Which should result in:
id: 1