read_bytes

Function read_bytes 

Source
pub fn read_bytes(bytes: &mut [u8]) -> usize
Expand description

Reads bytes from the console into the given mutable slice. Returns the number of bytes read.