Esc

finish_envelopes

procedureextensionsince 0.36.1Source
  • macOS: finish_envelopes works on macOS
  • Linux: finish_envelopes works on Linux
  • Windows: finish_envelopes works on Windows
  • Wasm: finish_envelopes works on Wasm

Validates byte EOF. A partial prefix or payload is an error, even if a prior message was valid. This only validates framing; RPC completion requires status.

Signature

finish_envelopes :: (decoder: *Envelope_Decoder) -> Wire_Error
Example↗
decoder: Envelope_Decoder;
assert(finish_envelopes(*decoder) == .NONE);

See also