Zserio C++ runtime library
1.2.0
Built for Zserio 2.16.0
|
#include <ArrayTraits.h>
Public Types | |
using | ElementType = uint64_t |
Static Public Member Functions | |
static size_t | bitSizeOf (ElementType element) |
static size_t | bitSizeOf (size_t, ElementType element) |
static size_t | initializeOffsets (size_t bitPosition, ElementType element) |
static ElementType | read (BitStreamReader &in, size_t=0) |
static void | write (BitStreamWriter &out, ElementType element) |
Static Public Attributes | |
static constexpr bool | IS_BITSIZEOF_CONSTANT = false |
Array traits specialization for Zserio varuint64 type.
Definition at line 842 of file ArrayTraits.h.
using zserio::VarIntNNArrayTraits< uint64_t >::ElementType = uint64_t |
Element type.
Definition at line 845 of file ArrayTraits.h.
|
inlinestatic |
Calculates bit size of the array element.
element | Element to use for calculation. |
Definition at line 854 of file ArrayTraits.h.
|
inlinestatic |
Calculates bit size of the array element.
element | Element to use for calculation. |
Definition at line 866 of file ArrayTraits.h.
|
inlinestatic |
Initializes indexed offsets of the single array element.
bitPosition | Current bit position. |
element | Element to use for calculation. |
Definition at line 879 of file ArrayTraits.h.
|
inlinestatic |
Reads the single array element.
in | Bit stream reader. |
Definition at line 891 of file ArrayTraits.h.
|
inlinestatic |
Writes the single array element.
out | Bit stream writer to use. |
element | Element to write. |
Definition at line 902 of file ArrayTraits.h.
|
staticconstexpr |
Determines whether the bit size of the single element is constant.
Definition at line 908 of file ArrayTraits.h.