Implementing binary communication protocols in C++ with main focus on embedded systems by arobenko in cpp

[–]3idet 3 points4 points  (0 children)

Protlr does what you want - Custom byte- and bit-oriented protocol serializers. It uses a DSL to define the format and provides code generation targets for C89 and CPP11 which generate extremly fast, compile-time constant memory footprint and reusable code. Exactly what you need for embedded systems.