[][src]Trait bitbuffer::Endianness

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

Trait for specifying endianness of bit buffer

Required methods

fn is_le() -> bool

Input is little endian

fn is_be() -> bool

Input is big endian

Loading content...

Provided methods

fn as_string() -> &'static str

Get the endianness as string, either LittleEndian or BigEndian

Loading content...

Implementors

impl Endianness for BigEndian[src]

impl Endianness for LittleEndian[src]

Loading content...