[−][src]Trait codec_io::Input
Trait that allows reading of data into a slice.
Associated Types
type Error
Error type of this input.
Required methods
fn read(&mut self, into: &mut [u8]) -> Result<(), Self::Error>
Read the exact number of bytes required to fill the given buffer.
Note that this function is similar to std::io::Read::read_exact
and not
std::io::Read::read
.