[][src]Trait bitbuffer::Endianness

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

Trait for specifying endianness of bit buffer

Required methods

pub fn is_le() -> bool[src]

Input is little endian

pub fn is_be() -> bool[src]

Input is big endian

Loading content...

Provided methods

pub fn as_string() -> &'static str[src]

Get the endianness as string, either LittleEndian or BigEndian

Loading content...

Implementors

impl Endianness for BigEndian[src]

impl Endianness for LittleEndian[src]

Loading content...