Function read_bytes_with_len

Source
pub fn read_bytes_with_len(
    reader: &mut dyn BufRead,
    len: usize,
) -> Result<Vec<u8>, Error>
Expand description

Read a variable-length array of bytes from a reader.