阅读背景:

ANTLR是用于序列化/反序列化二进制数据格式的合适工具吗?

来源:互联网 

I need to read and write octet streams to send over various networks to communicate with smart electric meters. There is an ANSI standard, ANSI C12.19, that describes the binary data format. While the data format is not overly complex the standard is very large (500+ pages) in that it describes many distinct types. The standard is fully described by an EBNF grammar. I am considering utilizing ANTLR to read the EBNF grammar or a modified version of it and create C# classes that can read and write the octet stream.I need to read and write octet streams to send




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: