4.5. Struct Model#
The model package contains the high-level building blocks used to describe
binary layouts: Sequence for mapping-based layouts,
Struct for class-based layouts,
Bitfield for bit-level groups, and templates for
deriving families of related structures.
These model types implement the same pack, unpack, size, and type protocols
used by primitive fields, so they can be nested or wrapped in
Field objects.