Kaitai Struct: runtime library for C++/STL
This library implements Kaitai Struct API for C++ using STL.
Kaitai Struct is a declarative language used for describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc.
Further reading: