The ToInt32 method converts the 8 first bytes (starting from startIndex) to int32
bool ToInt32(
std::int32_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() - 4
bigEndian
Specifies whether the data is stored in big endianness or small endianness
false
- the conversion failed
true
- the conversion was successful