aztec-nr - protocol_types::utils::arrays

Function subarray

pub fn subarray<T, let N: u32, let M: u32>(array: [T; N], offset: u32) -> [T; M]
where T: Empty

Helper fn to create a subarray from a given array.