Repository navigation
serialize 2.1.2: reads refuse bad declarations
Format 2.0, unchanged on the wire. A patch release: the reference read path now keeps U7/U16 everywhere.
- A bad declaration on a read refuses, never traps. A per-call
serialize_compressed_floatread with a bad declaration reached the asserts inserialize_compressed_float_params(debug) or read wrong data (release); it now refusesvalue_out_of_range. read_bitswith a bit count outside 1..64 now refuses likeserialize_bits.ReadStream::InitializePaddedwith a short destination refusesvalue_out_of_rangewithout asserting (it waspast_end).- Write and measure still trap on the same misuse (U9). Tests:
asserts.cpp,test_uniform_rules.
STANDARD.md, IMPLEMENTING.md and the conformance corpus are unchanged from v2.1.1, so ports need not re-vendor. COMPATIBILITY pins stay at v2.1.1 (bd3d67e).