Function assembly_core::buffer::try_cast_slice
source ยท pub fn try_cast_slice<T: MinimallyAligned>(
buffer: &[u8],
offset: u32,
len: u32,
) -> Result<&[T], CastError>
Expand description
Try to cast a buffer to a slice