Trait teehistorian::ThBufRead [−][src]
Required methods
fn get_buf(&self) -> &[u8]
[src]
returns current buffer
fn fill_buf(&mut self) -> Result<usize>
[src]
returns the number of extra bytes read, 0 indicates eof
fn consume(&mut self, amount: usize)
[src]
number of bytes to discard from the buffer. must be no more than the buffer len from get_buf