def decode_all
import bendonnect-rpc@0.1.0.0/src/envelope.bend as Envelopeimport 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)