ValueRef is the type of a reference to a value as it is returned by
createRaw(), getRaw() and getOrCreateRaw().
For values of fixed size (not dynamic, ValueSize != 0) createRaw() and
getOrCreateRaw() return a dynamic array which slices to the value in the
cache and therefore has always a length of ValueSize. getRaw() returns
either such a slice or null.
For values of dynamic size createRaw() and getOrCreateRaw() return a pointer
to a Value struct instance while getRaw() returns either a pointer or null.
The Value struct wraps a dynamic array and provides access via struct
methods.
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details.
Alternatively, this file may be distributed under the terms of the Tango
3-Clause BSD License (see LICENSE_BSD.txt for details).
Types concerning the values stored in cache.
Value is the type stored in the cache.
ValueRef is the type of a reference to a value as it is returned by createRaw(), getRaw() and getOrCreateRaw().
For values of fixed size (not dynamic, ValueSize != 0) createRaw() and getOrCreateRaw() return a dynamic array which slices to the value in the cache and therefore has always a length of ValueSize. getRaw() returns either such a slice or null.
For values of dynamic size createRaw() and getOrCreateRaw() return a pointer to a Value struct instance while getRaw() returns either a pointer or null. The Value struct wraps a dynamic array and provides access via struct methods.