Turi Create  4.0
turi::v2_block_impl::decode_vector_stream Struct Reference

#include <core/storage/sframe_data/sarray_v2_type_encoding.hpp>

Detailed Description

Handle a stream decoding of vector values.

read acts as a coroutine where it is called multiple times to decode up to num_elements values from the archive. For each call either decodebuffer is set, or skip is set. At least 1 value must be read/skipped or there will be problems. num_elements and iarc should be the same on every call.

This is the 2nd generation vector decoder. its use is flagged by turning on the block flag BLOCK_ENCODING_EXTENSION.

Definition at line 270 of file sarray_v2_type_encoding.hpp.


The documentation for this struct was generated from the following file: