Struct binary_layout::BigEndian [−][src]
pub struct BigEndian {}
This is a marker type to mark layouts using big endian encoding. The alternative is LittleEndian encoding.
Example
use binary_layout::prelude::*; define_layout!(my_layout, BigEndian, { field1: i16, field2: u32, });
Auto Trait Implementations
impl RefUnwindSafe for BigEndian
impl RefUnwindSafe for BigEndian
impl UnwindSafe for BigEndian
impl UnwindSafe for BigEndian