readBigInt64BE

fun readBigInt64BE(offset: Number = definedExternally): BigInt(source)

Reads a signed, big-endian 64-bit integer from buf at the specified offset.

Integers read from a Buffer are interpreted as two's complement signed values.

Since

v12.0.0, v10.20.0

Parameters

offset=0 Number of bytes to skip before starting to read. Must satisfy: 0 <= offset <= buf.length - 8.