Expand description
Canonical host/guest input wire format.
The input stream is encoded as u32 words where:
- the first word stores payload byte length,
- each following word stores up to 4 payload bytes in big-endian order,
- the final word is zero-padded when payload length is not a multiple of 4.
Enums§
- Wire
Error - Errors that can occur while framing input payloads.
Functions§
- frame_
words_ from_ bytes - Frame payload bytes into input words consumed by the runtime.
- read_
framed_ bytes_ with - Read one framed payload from a word source.