pub trait ReadBytes {
    // Required methods
    fn read_bytes_be<T>(&mut self) -> Result<T>
       where T: BytesConvertible;
    fn read_bytes_le<T>(&mut self) -> Result<T>
       where T: BytesConvertible;
}

Required Methods§

source

fn read_bytes_be<T>(&mut self) -> Result<T>where T: BytesConvertible,

source

fn read_bytes_le<T>(&mut self) -> Result<T>where T: BytesConvertible,

Implementors§

source§

impl<R> ReadBytes for Rwhere R: Read,