Components/Storage/src/include/Storage/Types.h
Go to the documentation of this file.
49 template <typename T> constexpr typename std::enable_if<(sizeof(T) <= 4), uint8_t>::type getSizeBits(T value)
54 template <typename T> constexpr typename std::enable_if<(sizeof(T) > 4), uint8_t>::type getSizeBits(T value)
bool isSize64(uint64_t value)
Determine if a value requires 64-bits to store.
Definition: Components/Storage/src/include/Storage/Types.h:27
Definition: FileDevice.h:25
constexpr std::enable_if<(sizeof(T)<=4), uint8_t >::type getSizeBits(T value)
Definition: Components/Storage/src/include/Storage/Types.h:49
constexpr bool isLog2(T value)
Determine if a value is an exact power of 2.
Definition: Components/Storage/src/include/Storage/Types.h:63