def decode.fit

bendonnect-rpc@0.1.0.0 · src/envelope.bend:64

import bendonnect-rpc@0.1.0.0/src/envelope.bend as Envelope
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

64def decode.fit(short: Bool, buf: Bytes.Bytes, +flags: U32, +len: U32, +n: U32) -> Step:
65  match short:
66    case True{}:
67      Need{buf}
68    case False{}:
69      decode.cut(buf, flags, len, n)

Uses (5)

Used by (1)