software master at the intersection of technology, science and art



protocol buffer

Google has published a messaging structure called Protocol Buffer. Unlike messages in a JSON and similar message fomrats, there is no mapping of a field or object to its data. Using Protocol Buffer, both sender and receiver must know the structure of the message as defined in a proto file. The protocol buffer compiler "compiles" the message into binary format. To unpack, the receiving application must have the proto file structure which was used to create teh bin file.