Module read

Module read 

Source
Expand description

Zero-copy reading.

Structs§

Bit
Location of a presence bit: byte offset within the fixed part and bit shift. For bool, presence is shift and the value is shift + 1.
Frames
ScalarList
[u32 count][count × T]
StrList
[u32 count][count × i32 ptr] to strings (or bytes).
TableList
[u32 count][u16 elem_fixed_len][count × fixed part]
TableRef
A view over one table’s fixed part. Never panics on malformed input.

Functions§

frames
Split a batch produced by Builder::take_frames into messages. Each frame is [u32 len][message]; truncated input yields one Err(OutOfBounds) and stops. Never panics.