Trait bitbuffer::Endianness[][src]

pub trait Endianness: Sealed {
    fn is_le() -> bool;
fn is_be() -> bool;
fn endianness() -> Self; fn as_string() -> &'static str { ... } }
Expand description

Trait for specifying endianness of bit buffer

Required methods

Input is little endian

Input is big endian

Get an instance of the endianness

Provided methods

Get the endianness as string, either LittleEndian or BigEndian

Implementors