template<typename Offset_, typename Length_, typename DataSetPointer_ = const H5::DataSet*>
class ritsuko::cvls::Stream1dArray< Offset_, Length_, DataSetPointer_ >
Stream a 1-dimensional compressed VLS array into memory.
- Template Parameters
-
| Offset_ | Unsigned integer type for the starting offset on the heap, see Pointer::offset. |
| Length_ | Unsigned integer type for the length of the string, see Pointer::length. |
| DataSetPointer_ | Class of a pointer to a H5::DataSet. This can be raw or smart depending on the caller's management of its lifetime. |
This streams in a 1-dimensional compressed VLS array in chunks. Callers can then iterate over the individual strings.
template<typename Offset_ , typename Length_ , typename DataSetPointer_ = const H5::DataSet*>
Get the start position of the current chunk, i.e., the index of the first element in the chunk. That is, buffer[j] corresponds to the start() + j-th element of the dataset. This should only be called after load().
- Returns
- Start position of the current chunk.