Trait compress::ReadExact
[−]
[src]
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