In Go there is a proto package which provides marshal and unmarshal function/methods which encodes and decodes in wire format.
This link https://gist.github.com/miguelmota/25568433ad8cfddb5ea556a5644c9fde provides an example of marshal and unmarshal in Go.
Can I do marshal and unmarshal in python? If yes, which package should I use to achieve this functionality?