pub trait ReadFill: Read {
// Provided method
fn read_fill(&mut self, buf: &mut [u8]) -> Result<usize> { ... }
}
Available on crate feature
std
only.Expand description
Allows to read into a buffer as much as possible.
Allows the use BufReader with BPX.