Skip to main content

encode_fixed_length_vec_u8

Function encode_fixed_length_vec_u8 

Source
pub fn encode_fixed_length_vec_u8(
    vec: &[u8],
    expected_len: usize,
    buf: &mut Vec<u8>,
) -> Result<(), String>
Expand description

Optimized encoding for Vec - just extends the buffer directly