Describes a read rule. More...
#include <parser.h>
Describes a read rule.
Read rules are the backbone of BinaryParser. Each parser instance stores an array of bparser_read_t objects, which it then enumerates during the parsing process to calculate how many bytes to read and from which position in the file, to know how to read it (big/little endian with integrals) and how to store it afterwards, or what functions to run on the read data.