def step.fit

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

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

471def step.fit(ok: Bool, +t: U32, c: Bytes.Cursor, +size: U32, +pd: U32, pax: Pax, acc: List<&1, Entry>) -> Bytes.Cursor & St:
472  match ok:
473    case True{}:
474      frame.region(t, size, pd, pax, acc, Bytes.Cursor.region(c, pd))
475    case False{}:
476      (c, SFail{})

Uses (11)

Used by (1)