Skip to main content

decode_fixed_length_vec_u8

Function decode_fixed_length_vec_u8 

Source
pub fn decode_fixed_length_vec_u8(
    len: usize,
    buf: &mut &[u8],
) -> Result<Vec<u8>, DecodeError>
Expand description

Optimized decoding for Vec - just copy_from_slice without decode overhead