pub trait Buffered: BufRead + Seek + Send + Sync {
    fn data(&self) -> &[u8]Notable traits for &mut [u8]impl<'_> Write for &mut [u8]impl<'_> Read for &[u8];
    fn grow(&mut self, len: usize);
}
Expand description

Used to interact with a buffer.

Required Methods

Returns the data contained in a buffer as a sequence of bytes.

Increases the size of a buffer.

Implementors