Function base::read_raw_stdin

source ·
pub fn read_raw_stdin(out: &mut [u8]) -> Result<usize>
Expand description

Read raw bytes from stdin.

This will block depending on the underlying mode of stdin. This will ignore the usual lock around stdin that the stdlib usually uses. If other code is using stdin, it is undefined who will get the underlying bytes.