copy_exact

Function copy_exact 

Source
pub fn copy_exact<R, W>(
    reader: &mut R,
    writer: &mut W,
    num_bytes: usize,
) -> Result<()>
where R: Read + ?Sized, W: Write + ?Sized,
Expand description

Copies a given amount of bytes from reader to writer.