Namespace sofab
Classes
- FloatBits
Bit-pattern equality for
fp32/fp64arrays — the comparison a generated encoder makes between a field and its declared default.
- IStream
Streaming SofaBuffers decoder.
- OStream
Streaming SofaBuffers encoder writing into a caller-provided byte buffer.
- PayloadAcc
Reassembles a
stringorblobpayload that arrives in more than one piece — the support layer for generated code, not part of the codec.
- Seq
Element placement, row reservation and array growth for generated decode destinations — the support layer, not part of the codec.
- Sofab
Library-level constants for the SofaBuffers (
sofab) core.
- SofabException
Thrown by the encoder and decoder on protocol or buffer errors.
- Utf8
Turns a raw UTF-8 byte range into a C# string, rejecting a range that is not well-formed — the support layer for generated code, not part of the codec.
Interfaces
Enums
- ArrayKind
Element category of an array field, reported to an IVisitor via ArrayBegin(int, ArrayKind, int) just before the elements are delivered.
- DecodeStatus
The terminal outcome of a decode (MESSAGE_SPEC §7), reported identically for one-shot and streaming decode with no finish / finalize / end promotion step.
- FixlenType
Sub-type of a fixed-length field — the 3-bit tag encoded in the low bits of a fixlen length header (see the SofaBuffers documentation, "Fixlen Length and Type").
- SofabError
Error categories raised by the encoder and decoder.