Archive.grab: def of bend-kit-archive@0.5.1.0 Import: import bend-kit-archive@0.5.1.0/archive.bend as Archive Lines 40-42 of bend-kit-archive@0.5.1.0/archive.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-archive@0.5.1.0/archive.bend&start_line=40&end_line=42 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes def grab(a: Array, +i: U32, +n: U32) -> Array & List<&2, U32>: +j = (i + n - 1 : U32) grab.go(U32.to_nat(n), Bytes.peek(a, j), j, Nil{}) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=bend-kit-archive@0.5.1.0/archive.bend&name=grab.go https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=peek