Trait zerocopy_helpers::FromBytesExt
source · pub trait FromBytesExt: FromBytes {
// Provided methods
fn read_from_prefix_split(bytes: &[u8]) -> Option<(Self, &[u8])>
where Self: Sized { ... }
fn read_from_suffix_split(bytes: &[u8]) -> Option<(&[u8], Self)>
where Self: Sized { ... }
}