Internal state of the Sofab input stream.
More...
#include <istream.h>
Internal state of the Sofab input stream.
Definition at line 134 of file istream.h.
◆ array_wire_count
| size_t sofab_istream::array_wire_count |
Element count declared on the wire (0..capacity)
Definition at line 158 of file istream.h.
◆ decoder
Currently active decoder (may be nested)
Definition at line 154 of file istream.h.
◆ default_decoder
Top-level decoder instance
Definition at line 147 of file istream.h.
◆ depth
| uint8_t sofab_istream::depth |
Sequences currently open, bound and skipped !< alike (0..SOFAB_MAX_DEPTH). The per-decoder !< skip_depth counts only the skipped ones, so !< it cannot carry the MAX_DEPTH ceiling.
Definition at line 166 of file istream.h.
◆ fixlen_remaining
| size_t sofab_istream::fixlen_remaining |
Remaining bytes to read for a fixed-length field
Definition at line 155 of file istream.h.
◆ id
Current field ID being processed
Definition at line 159 of file istream.h.
◆ invalid
| uint8_t sofab_istream::invalid |
Sticky flag: the message was rejected — by the !< decoder or by a callback. Makes SOFAB_RET_E_INVALID_MSG !< terminal (CORELIB_PLAN §5.2).
Definition at line 162 of file istream.h.
◆ target_count
| size_t sofab_istream::target_count |
Number of elements to read into the target array
Definition at line 157 of file istream.h.
◆ target_len
| size_t sofab_istream::target_len |
Target element size or total buffer length
Definition at line 156 of file istream.h.
◆ target_opt
| uint8_t sofab_istream::target_opt |
Field options (used for type checks and flags)
Definition at line 160 of file istream.h.
◆ target_ptr
| uint8_t* sofab_istream::target_ptr |
Pointer to output buffer for field data
Definition at line 148 of file istream.h.
◆ varint_shift
| uint8_t sofab_istream::varint_shift |
Current shift offset for varint decoding
Definition at line 161 of file istream.h.
◆ varint_value
Accumulated varint value under construction
Definition at line 146 of file istream.h.
The documentation for this struct was generated from the following file: