Trait ByteStruct
byte_struct
pub trait ByteStruct { fn write_bytes(&self, bytes: &mut [u8]); fn read_bytes(bytes: &[u8]) -> Self; }
fn write_bytes(&self, bytes: &mut [u8])
fn read_bytes(bytes: &[u8]) -> Self