byteSwap64
byteSwap64(
value):bigint
Defined in: packages/core/src/big-int/bit/byte-swap64.ts:12
Reverses the byte order within the low 64 bits of value.
The 64-bit counterpart of byteSwap32: swaps adjacent byte-pairs, then
16-bit halfwords, then the two 32-bit halves, with bigint masks.
Parameters
Section titled “Parameters”bigint
The value to byte-swap; only its low 64 bits are considered.
Returns
Section titled “Returns”bigint
The byte-swapped value as an unsigned 64-bit integer.