The getBigUint64()
method gets an unsigned 64-bit integer (unsigned long long) at the specified byte offset from the start of the DataView
.
dataview.getBigUint64(byteOffset [, littleEndian])
false
or undefined
, a big-endian value is read.A BigInt
.
RangeError
byteOffset
is set such that it would read beyond the end of the view.There is no alignment constraint; multi-byte values may be fetched from any offset.
getBigUint64
methodvar buffer = new ArrayBuffer(8); var dataview = new DataView(buffer); dataview.getBigUint64(0); // 0n
Specification |
---|
ECMAScript (ECMA-262) The definition of 'DataView.prototype.getBigUint64()' in that specification. |
Desktop | ||||||
---|---|---|---|---|---|---|
getBigUint64 |
67 | 79 | 68 | No | 54 | No |
Mobile | ||||||
---|---|---|---|---|---|---|
getBigUint64 |
67 | 67 | 68 | 48 | No | 9.0 |
Server | |
---|---|
getBigUint64 |
10.4.0 |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/getBigUint64