Bytefield examples

Byte field diagrams are the reason binary format specifications are readable. Bytefield draws them from a short description, so the offsets cannot drift.

Five examples, from the canonical TCP header to a nested structure.


#Every example here is real

Each page holds a diagram that is stored, rendered and editable exactly like one you drew yourself. Open any of them, change something, and see what happens. Nothing here is a screenshot.


#In this set



The offsets are computed, not drawn.