def body.sized

emerging-ezhttp@0.21.0.0 · src/body.bend:20

import emerging-ezhttp@0.21.0.0/src/body.bend as Body
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

20# an octets body's count: its shape, and the octets handed back
21def body.sized(r: Bytes.Bytes & U32) -> Shape & Bytes.Bytes:
22  (b, +n) = r
23  (ShapeOctets{n}, b)

Uses (5)

Used by (1)