rotate_bytes_left

Function rotate_bytes_left 

Source
pub fn rotate_bytes_left(bytes: &[u8], n: usize) -> Vec<u8> 
Expand description

Rotate bytes left by n positions. Wraps around: [1,2,3,4] rotated left by 1 = [2,3,4,1]