Trait EndianReader
endiannezz
pub trait EndianReader: Read { fn try_read<E: Endian, T: Primitive>(&mut self) -> Result<T>; }
Allows to read primitive types with differents representation of bytes
fn try_read<E: Endian, T: Primitive>(&mut self) -> Result<T>
impl<R: Read + ?Sized> EndianReader for R