It seems there's no way to wrap parsers with context
attribute. I think it's good idea adding something like endianness attribute, but for context
: we could use it for structure parameters and for the whole structure (maybe wrap all structure parameters' parsers with tuple
and then with context
like context (message, tuple((..))
).