|
ritsuko
Helper utilities for ArtifactDB C++ code
|
Pointer into the compressed VLS heap. More...
#include <Pointer.hpp>
Public Attributes | |
| Offset_ | offset |
| Length_ | length |
Pointer into the compressed VLS heap.
| Offset_ | Unsigned integer type of the starting offset on the heap. |
| Length_ | Unsigned integer type of the length of the string. |
Each Pointer instance defines a variable length string by referencing a slice of bytes on the compressed VLS heap. It is expected that Pointer instances are stored as a compound datatype as defined by define_pointer_datatype().
| Length_ ritsuko::cvls::Pointer< Offset_, Length_ >::length |
Maximum length of the string on the heap, in terms of the number of bytes. The sum of offset and length should be no greater than the length of the heap dataset.
| Offset_ ritsuko::cvls::Pointer< Offset_, Length_ >::offset |
Starting offset of the string on the heap, in terms of the number of bytes. This should be no greater than the length of the heap dataset.