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
impl ReadEndian for u16
impl<'a> ReadEndian for &'a [u16]
impl ReadEndian for Vec<u16>
impl ReadEndian for u32
impl<'a> ReadEndian for &'a [u32]
impl ReadEndian for Vec<u32>
impl ReadEndian for u64
impl<'a> ReadEndian for &'a [u64]
impl ReadEndian for Vec<u64>