The layout is the format
A binary file is a sequence of fields with known sizes. The format string records that layout, and both the writer and the reader use it.
Version the layout
If a format changes size, old files read wrong. Real formats put a version or a length at the front so a reader can tell which layout to use.