ByteRead

Trait ByteRead 

Source
pub trait ByteRead: BufRead {
    // Required methods
    fn next_byte(&mut self) -> IoByte;
    unsafe fn consume_unchecked(&mut self, amt: usize);
}

Required Methods§

Source

fn next_byte(&mut self) -> IoByte

Source

unsafe fn consume_unchecked(&mut self, amt: usize)

Implementations on Foreign Types§

Source§

impl ByteRead for &[u8]

Source§

fn next_byte(&mut self) -> IoByte

Source§

unsafe fn consume_unchecked(&mut self, amt: usize)

Implementors§

Source§

impl<R: TrustedRead> ByteRead for ByteReader<R>