Trait buffer::ReadBuffer [−][src]
Trait to read to T: Buffer
.
This trait should be imported to read into buffers.
Provided methods
fn read_buffer<'d, B: Buffer<'d>>(&mut self, buf: B) -> Result<&'d [u8]>
[src]
Reads (equivalently to Read::read
) into the buffer and returns the
newly read bytes.