Skip to main content

pack_bytes

Function pack_bytes 

Source
pub fn pack_bytes(bytes: &[u8]) -> Vec<[u8; 32]>
Expand description

Pack a byte slice into 32-byte chunks, zero-padding the tail.