Trait struct_deser::IntoBytesOrdered [] [src]

pub trait IntoBytesOrdered: SerializedByteLen {
    fn into_bytes<BO: ByteOrder>(&self, bytes: &mut [u8]);
}

Represents types that can be serialized into bytes with specific endianess.

Required Methods

Serializes self using byte order. This function must write to the provided slice.

Implementors