Envelope.decode.size: def of bendonnect-rpc@0.1.0.0 Import: import bendonnect-rpc@0.1.0.0/src/envelope.bend as Envelope Lines 71-76 of bendonnect-rpc@0.1.0.0/src/envelope.bend: https://jend.leeeet.dev/read.txt?path=bendonnect-rpc@0.1.0.0/src/envelope.bend&start_line=71&end_line=76 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def decode.size(big: Bool, buf: Bytes.Bytes, +flags: U32, +len: U32, +n: U32, +max: U32) -> Step: match big: case True{}: Bad{decode.too_big(len, max)} case False{}: decode.fit(U32.is_lt((n - 5 : U32), len), buf, flags, len, n) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bendonnect-rpc@0.1.0.0/src/envelope.bend&name=Step https://jend.leeeet.dev/definition.txt?path=bendonnect-rpc@0.1.0.0/src/envelope.bend&name=decode.fit https://jend.leeeet.dev/definition.txt?path=bendonnect-rpc@0.1.0.0/src/envelope.bend&name=decode.too_big