Container layout
An Avro container file begins with the four-byte magic Obj\x01, followed by a metadata map that holds the writer schema under the key avro.schema, then a 16-byte sync marker. Data follows as a sequence of blocks: each block carries the number of objects it contains, the byte length of its encoded payload, and ends with a sync marker. The viewer reads this structure to locate records and validate the framing.