|
ztsdb
|
#include <encode.hpp>
Public Attributes | |
| val::Value | val |
| value under construction | |
| uint64_t | exp |
| expected length | |
| uint64_t | n |
| unsigned | stage |
State of a value being decoded. Allows to decode values split over multiple buffers.
| uint64_t zcore::ValState::n |
current length
| unsigned zcore::ValState::stage |
For Values composed of other Values, the stage indicates the reading state so we know where to continue when a new packet comes in; for example, in the case of reading an array, stage 0 indicates we are still reading the dimension/names list, stage 1 indicates we are reading the array values.
1.8.17