Tar.enc.main: def of bend-kit-tar@0.3.0.0 Import: import bend-kit-tar@0.3.0.0/tar.bend as Tar Lines 658-661 of bend-kit-tar@0.3.0.0/tar.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-tar@0.3.0.0/tar.bend&start_line=658&end_line=661 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes # The header keeps the name's first 100 bytes; a longer name rides in the PAX record before it. def enc.main(+nl: U32, +t: U32, +mode: U32, +dl: U32, db: Array, r: Array & Bytes.Bytes) -> Bytes.Bytes: (nb, out) = r enc.hdr(dl, db, out, hdr(nb, U32.min(nl, 100), mode, dl, t)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.min https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-tar@0.3.0.0/tar.bend&name=enc.hdr https://jend.leeeet.dev/definition.txt?path=bend-kit-tar@0.3.0.0/tar.bend&name=hdr