BinMsg Compiler is a code generator for protocols buffers. As of now it is possible to generate reading, writing and dumping code for Java, C++ and C. There are separate runtime libraries for each of the languages.
The protocols are defined in an XML file. Any decent XML editor can be used and code completion is supported in Eclipse's XML editor.
To see what all kind of complex structures can be handled by BinMsg Compiler, check these pdf document. All of the structures specified in these specifications has been encoded and corresponding code has been generated.
Title | Specification | Code |
---|---|---|
Cable Card CCIF Spec. | Link to definition file | Link to Java , CPP code |
SCTE65 Spec | Link to definition file | Link to Java , CPP code |
CableLabs Common Download | Link to definition file | Link to Java , CPP code |
Please see this tutorial about how to write your own parser.
mvn package