The ToUint64 method converts the 8 first bytes (starting from startIndex) to uint64
bool ToUint64(
std::uint64_t* out,
size_t startIndex = 0,
bool bigEndian = true
);
out
Pointer to where to save the data. Can’t be nullptr
startIndex
Specifies the index from where to start converting, should be greater then 0 and smaller then Size() - 8
bigEndian
Specifies whether the data is stored in big endianness or small endianness
false
- the conversion failed
true
- the conversion was successful