Skip to main content

read_exact

Function read_exact 

Source
fn read_exact<T: PhysicalTransport>(
    transport: &mut T,
    buf: &mut [u8],
) -> Result<()>
Expand description

Reads exactly buf.len() bytes from transport, looping over short reads.