def step.zero

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

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

518def step.zero(zero: Bool, +ok: Bool, +size: U32, +size_ok: Bool, +t: U32, c: Bytes.Cursor, pax: Pax, acc: List<&1, Entry>) -> Bytes.Cursor & St:
519  match zero:
520    case True{}:
521      end.sum(pax, acc, Bytes.Cursor.read(~U32, ~zero.read, c, 512))
522    case False{}:
523      step.hdr(ok, t, c, size, size_ok, pax, acc)

Uses (12)

Used by (1)