Skip to main content

encode_into

Function encode_into 

Source
pub fn encode_into(
    decomp: &Decomp,
    out: &mut [u8; 4],
) -> Result<usize, EncodeError>
Expand description

Zero-allocation encode. Writes the code into out and returns the number of bytes written (3 or 4).