Trait byteorder_pod::EndianConvert [] [src]

pub trait EndianConvert: Aligned {
    fn from<B: ByteOrder>(_: &Self::Unaligned) -> Self;
    fn to<B: ByteOrder>(self) -> Self::Unaligned;
}

Describes a value that can be converted to and from a specified byte order.

Required Methods

Converts a value from B

Converts a value to B

Implementors