16. Serialization Codec
Binary encoding of protocol types for hashing and network transmission (GP Appendix C). All encodings are little-endian.
jar1 uses a distinct codec (Codec.Jar1) that replaces JAM's variable-length natural
encoding with fixed u32 little-endian count prefixes throughout. This simplifies parsing
and produces deterministic-length encodings for all collection types.