Function bytepad_blocks

Source
pub fn bytepad_blocks<const W: usize>(
    s: EncodedString<'_>,
) -> ([u8; W], &[[u8; W]], Option<[u8; W]>)
Expand description

Same as bytepad, but returns the data as blocks of length W.

In practice, this has helped avoid needless calls to memcpy and has helped remove panicking branches.