pub trait FromLittleEndian {
    type Bytes: Default + AsRef<[u8]> + AsMut<[u8]>;

    fn from_le_bytes(bytes: Self::Bytes) -> Self;
}
Expand description

Allows to instantiate a type from its little-endian bytes representation.

Required Associated Types

The little-endian bytes representation.

Required Methods

Create a new instance from the little-endian bytes representation.

Implementations on Foreign Types

Implementors