getLongAt method
Get a long value. This is not needed directly, but as a nice side-effect from GetDouble.
@param index the index to get the value from @return the long value
Implementation
@override
int getLongAt(int index) {
return (data.get(index) << 56) +
(data.get(index + 1) << 48) +
(data.get(index + 2) << 40) +
(data.get(index + 3) << 32) +
(data.get(index + 4) << 24) +
(data.get(index + 5) << 16) +
(data.get(index + 6) << 8) +
(data.get(index + 7) << 0);
}