cbor2
    Preparing search index...

    Variable u8toUBigIntConst

    u8toUBigInt: (buf: Uint8Array) => bigint = ...

    Convert bigendian bytes to a bigint.

    Type Declaration

      • (buf: Uint8Array): bigint
      • Convert bigendian bytes to an unsigned bigint, using the surprisingly-fast approach of converting to hex first.

        Parameters

        • buf: Uint8Array

          Buffer to convert.

        Returns bigint

        BigInt version of buf.

    Buffer to convert.

    BigInt version of buf.