Function assembly_fdb::ro::buffer::get_slice_at

source ยท
pub fn get_slice_at<T>(buf: &[u8], addr: usize, count: usize) -> Res<&[T]>
Expand description

Get a reference to a slice at the given address of this buffer

This functions checks whether the offset and alignment is valid