read_exact

Function read_exact 

Source
pub fn read_exact(
    input: &[u8],
    len: usize,
) -> Result<(&[u8], &[u8]), IncompleteError>