def grab
import bend-kit-archive@0.5.1.0/archive.bend as Archiveimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
40def grab(a: Array<U32>, +i: U32, +n: U32) -> Array<U32> & List<&2, U32>:
41 +j = (i + n - 1 : U32)
42 grab.go(U32.to_nat(n), Bytes.peek(a, j), j, Nil{})