system_interface::io

Function peek_from_bufread

source
pub fn peek_from_bufread<BR: BufRead>(
    buf_read: &mut BR,
    buf: &mut [u8],
) -> Result<usize>
Expand description

Implement peek for types that implement BufRead.