Skip to main content

read_bytes

Function read_bytes 

Source
pub fn read_bytes<R>(stream: &mut R, buf: &mut [u8]) -> Result<usize, Error>
where R: Read + ?Sized,
Expand description

Reads an array of bytes from the stream