Trait FromEndianBytes

pub trait FromEndianBytes: Sized

Trait for types that can be converted from a fixed-size byte array with a specified endianness

Required Methods

fn read_le_from(r: &mut impl Read) -> Result<Self>
fn read_be_from(r: &mut impl Read) -> Result<Self>

Implementors