Trait struct_deser::IntoBytes [] [src]

pub trait IntoBytes: SerializedByteLen {
    fn into_bytes(&self, bytes: &mut [u8]);
}

Represents types that can be serialized into bytes.

Required Methods

Serializes self. This function must write to the provided slice.

Implementors