• Converts a buffer to a bigint. Alias for beBufferToBigInt.

    Parameters

    • value: Uint8Array | Buffer

      The buffer to convert.

    Returns bigint

    The bigint representation of the buffer's contents.