def oct
import bend-kit-tar@0.3.0.0/tar.bend as Tarimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
50# The octal field of w bytes at j, and whether it is well formed and fits a U32.
51def oct(a: Array<U32>, +j: U32, +w: U32) -> Array<U32> & U32 & Bool:
52 oct.go(U32.to_nat(w), Bytes.peek(a, j), j, 0, 0, True{})