Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

decode_clamped

Function decode_clamped 

Source
pub fn decode_clamped(input: &[u8], offset: usize, output: &mut [u8])
Expand description

Decode a bounded GoldSrc row, clipping oversized runs and leaving a truncated tail invisible. Zero-length runs are consumed, not rejected.