Trait podio::Endianness [] [src]

pub trait Endianness {
    fn int_to_target<T: EndianConvert>(val: T) -> T;
fn int_from_target<T: EndianConvert>(val: T) -> T; }

Trait implementing conversion methods for a specific endianness

Required Methods

Converts a value from the platform type to the specified endianness

Converts a value from the sepcified endianness to the platform type

Implementors