Skip to main content

toUnsigned

Callable

  • toUnsigned(num: bigint): Buffer

  • Converts a BigInt to an unsigned integer and returns it as a Buffer. Assumes 256-bit numbers.


    Parameters

    • num: bigint

    Returns Buffer