Function binToBigIntUint256BE

  • Decode an unsigned, 32-byte big-endian Uint8Array into a BigInt. This can be used to decode Uint8Array-encoded cryptographic primitives like private keys, public keys, curve parameters, and signature points.

    If starting from a hex value, consider using the BigInt constructor instead:


    For the reverse, see bigIntToBinUint256BEClamped.


    • bin: Uint8Array

      the Uint8Array to decode

    Returns bigint

Generated using TypeDoc