DataView.prototype.getBigUint64

Returns the unsigned 64-bit BigInt value at the specified byte offset from the start of the view.

Syntax

getBigUint64(byteOffset, littleEndian?)

Parameters

Return value

A BigInt value.

Examples

var buffer = new ArrayBuffer(8)
var view = new DataView(buffer)
view.setBigUint64(0, 18446744073709551615n)
view.getBigUint64(0)
18446744073709551615n