Skip to main content

ids_to_fixture_bytes

Function ids_to_fixture_bytes 

Source
pub fn ids_to_fixture_bytes(ids: &[i64]) -> Vec<u8> ⓘ
Expand description

The fixture-generation byte rule: max(0, t - 3) per id (no pad/unk skipping — a PAD argmax yields byte 0x00 there), then lossy UTF-8. Used by the conformance harness so frozen vectors are compared byte-exactly under the rule that produced them.