pub trait FromBytes {
fn read_le<R>(reader: R) -> Result<Self, Error>
where
R: Read;
fn from_bytes_le(bytes: &[u8]) -> Result<Self, Error> { ... }
}Required Methods
Provided Methods
fn from_bytes_le(bytes: &[u8]) -> Result<Self, Error>
fn from_bytes_le(bytes: &[u8]) -> Result<Self, Error>
Returns Self from a byte array in little-endian order.