Skip to main content

swapEndianness variable

SwapEndianness swaps the endianness of the value encoded in buf. If buf is Big-Endian, the result will be Little-Endian and vice-versa.

Signature:

swapEndianness: (buf: Uint8Array) => Uint8Array