Function assembly_data::fdb::ro::buffer::get_slice_at[][src]

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