Trait endian::ReadEndian [-] [+] [src]

pub trait ReadEndian {
    fn read_be(&self, buf: &mut [u8]) -> Result<usize>;
    fn read_le(&self, buf: &mut [u8]) -> Result<usize>;
}

Read extension for endianness.

Required Methods

fn read_be(&self, buf: &mut [u8]) -> Result<usize>

fn read_le(&self, buf: &mut [u8]) -> Result<usize>

Implementors