def enc.ok

bend-kit-tar@0.3.0.0 · tar.bend:670

import bend-kit-tar@0.3.0.0/tar.bend as Tar
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

670def enc.ok(ok: Bool, nb: Array<U32>, +nl: U32, out: Bytes.Bytes, +t: U32, +mode: U32, +dl: U32, db: Array<U32>) -> Maybe<&1, Bytes.Bytes>:
671  match ok:
672    case True{}:
673      Some{enc.long(U32.is_lt(100, nl), nb, nl, out, t, mode, dl, db)}
674    case False{}:
675      None{}

Uses (7)

Used by (1)