Skip to main content

push_fixed

Function push_fixed 

Source
pub fn push_fixed(out: &mut Vec<u8>, value: i32, quant_bits: QuantBits)
Expand description

Appends one fixed-width coordinate at the quant width: the value’s low 2, 3, or 4 little-endian bytes for i16, i24, and i32 quantization. Public so the runtime crate’s coordinate-unpacking tests can round-trip against the encoder’s real byte layout instead of a mirror copy.