64 bit integers
Clone this wiki locally
jDataView provides I/O methods for 64-bit signed and unsigned integer types.
IMPORTANT: Those types behave like primitive numbers (you can manipulate with them using arithmetic operations, convert them to strings etc.)., BUT due to IEEE.754 limitations, there is precision loss for numbers outside the ±2^53 range, and that's why they also contain
hi fields for retrieving corresponding 32-bit unsigned parts. You can pass both primitive numbers (with the same restriction as above) or
jDataView.Int64 instances with
hi fields to writer functions as well.
setInt64(byteOffset, value, littleEndian)
setUint64(byteOffset, value, littleEndian)