def decode_all

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

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

146# Every envelope of a complete body; a trailing partial envelope is a Fail.
147def decode_all(buf: Bytes.Bytes, +max: U32) -> Result<&2, &1, String, List<&1, Envelope>>:
148  decode_all.start(Bytes.length(buf), max)

Uses (8)

Used by (1)