![]() |
CppSerdes
1.0
A serialization/deserialization library designed with embedded systems in mind
|
a lambda function wrapper that can describe any serialization/deserialization formatting process. While it does use more overhead (because of the lambda), it also can describe any format process as manipulatable runtime data, which the other hard coded interfaces don't allow.
More...
#include <serdes_formatter.h>
Public Attributes | |
std::function< void(packet &)> | formatter_lambda |
the formatting function taking a packet process (and any captures) as instructions | |
a lambda function wrapper that can describe any serialization/deserialization formatting process. While it does use more overhead (because of the lambda), it also can describe any format process as manipulatable runtime data, which the other hard coded interfaces don't allow.
Examples: