def pr.body

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

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

261def pr.body(pax: Pax, r: Bytes.Cursor & Maybe<&1, Bytes.CursorLimit>) -> Bytes.Cursor & Pst:
262  (c, m) = r
263  match m:
264    case None{}:
265      (c, PBad{})
266    case Some{limit}:
267      pr.close(limit, pr.value(pax, Bytes.Cursor.read(~PKey, ~pr.key, c, 5)))

Uses (12)

Used by (1)