pad_to_fixed_size

Function pad_to_fixed_size 

Source
pub fn pad_to_fixed_size<const N: usize>(
    input: &[u8],
) -> Result<[u8; N], EncodingError>
Expand description

Pads a byte slice to a fixed size array of N bytes.