[][src]Trait compress::ReadExact

pub trait ReadExact: Read + Sized {
    fn push_exactly(&mut self, bytes: u64, buf: &mut Vec<u8>) -> Result<()> { ... }
}

Adds a convenience method for types with the read trait, very similar to push_at_least in the late Reader trait

Provided methods

fn push_exactly(&mut self, bytes: u64, buf: &mut Vec<u8>) -> Result<()>

Appends exact number of bytes to a buffer

Loading content...

Implementors

impl<T> ReadExact for T where
    T: Read + Sized
[src]

Loading content...