def step.hdr

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

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

487def step.hdr(ok: Bool, +t: U32, c: Bytes.Cursor, +size: U32, +size_ok: Bool, pax: Pax, acc: List<&1, Entry>) -> Bytes.Cursor & St:
488  match ok:
489    case True{}:
490      step.size(t, c, size, size_ok, pax, acc)
491    case False{}:
492      (c, SFail{})

Uses (10)

Used by (1)