Expand description
Forward-only writing into pooled BytesMut.
Structsยง
- Builder
- Owns one pooled buffer. Build a message with
root(), then: - Fixed
ListW - Known-count list of all-scalar elements (see
TableW::tables_fixed). On drop the count is set to the number pushed. - FixedW
- Writer for a table whose fields are all scalars (no pointers). The fixed
part is a
[u8; N]known at compile time, so field writes with constant offsets compile without bounds checks. - Scalar
ListW - Unknown-count scalar list writer; count is written on drop.
- Stream
ListW - Unknown-count table list writer; finalized by
close()or on drop. - Table
ListW - Known-count list writer. On drop the count is set to the number pushed.
- TableW
- Writer for one table. The fixed part lives in
auxwhen it is a streaming list element, otherwise inmain; variable data always goes tomain.