pub trait Buffered: BufRead + Seek + Send + Sync {
    fn data(&self) -> &[u8]Notable traits for &[u8]impl Read for &[u8]impl Write for &mut [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