Expand description
Pre-sized SBE byte writer for sequential encoding.
The writer uses narrow unsafe blocks to avoid zero-initializing the backing
buffer: safe-layout slice conversions between [u8] and [MaybeUninit<u8>],
and pointer-based aligned stores into the MaybeUninit<u8> slots. The crate
otherwise forbids unsafe code; this module is the only file in the SBE
codec that opts in, and every unsafe block carries a SAFETY comment
documenting the invariant it relies on.
Structsยง
- SbeWriter
- Pre-sized SBE byte writer for sequential encoding.