Skip to main content

take

Function take 

Source
fn take<T>(bytes: &mut [u8], len: u32) -> Result<(&mut [T], &mut [u8]), Error>
Expand description

Takes a len element slice of T off the front of bytes, in the terms an outline reports.