Octets.CrOct.pieces: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/octets.bend as Octets Lines 87-90 of bend-osdev-crypto@0.1.0.0/octets.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/octets.bend&start_line=87&end_line=90 import Base # xs cut into pieces of n bytes, in order: every piece but the last has n # bytes, the last 1 to n (no pieces for no bytes) def CrOct.pieces(n: Nat, xs: List<&2, U32>) -> List<&2, List<&2, U32>>: cr.oct.revs(cr.oct.pieces.go(xs, n, 0n, Nil{}, Nil{}), Nil{}) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/octets.bend&name=cr.oct.pieces.go https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/octets.bend&name=cr.oct.revs