Expand description
Binance SBE (Simple Binary Encoding) codec implementations.
This module contains:
cursor: Re-export of shared cursor utilities fromnautilus_serialization::sbe.error: Re-export of shared decode error types fromnautilus_serialization::sbe.generated: Generated codecs for the Spot REST/WebSocket API (schema 3:3).stream: Hand-written codecs for market data streams (schema 1:0).
The generated codecs come from Binance’s official SBE schema using Real Logic’s SBE generator. The stream codecs are hand-written for the 4 market data stream message types.
Re-exports§
pub use generated as spot;pub use generated::ReadBuf;pub use generated::SBE_SCHEMA_ID;pub use generated::SBE_SCHEMA_VERSION;pub use generated::SbeErr;pub use generated::SbeResult;pub use generated::message_header_codec::MessageHeaderDecoder;
Modules§
- cursor
- Backward-compatible re-export of shared SBE cursor utilities.
- error
- Backward-compatible re-export of shared SBE decode error types.
- generated
- Generated SBE codecs for Binance Spot API (schema 3:3).
- stream
- Binance SBE market data stream decoders (schema 1:0).
Structs§
- SbeCursor
- Zero-copy SBE byte cursor for sequential decoding.
Enums§
- SbeDecode
Error - SBE decode error.
Constants§
- MAX_
GROUP_ SIZE - Maximum allowed group size to prevent DoS from malformed data.