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

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

Types that can be converted from and to little endian bytes.

Required Associated Types

The little endian bytes representation.

Required Methods

Converts self into little endian bytes.

Converts little endian bytes into Self.

Implementations on Foreign Types

Implementors