Function offset_handles

Source
pub fn offset_handles(base_handle: Handle, sizes_bytes: &[usize]) -> Vec<Handle>
Expand description

Take a list of sub-slices of a buffer and create a list of offset handles. Sizes must be in bytes and aligned to the memory alignment.