mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-06-18 03:41:02 +00:00
8 lines
366 B
TypeScript
8 lines
366 B
TypeScript
import type { BN } from '../bn/bn.js';
|
|
import type { HexString, NumberOptions, ToBigInt, ToBn } from '../types.js';
|
|
/**
|
|
* @name nToHex
|
|
* @summary Creates a hex value from a bigint object.
|
|
*/
|
|
export declare function nToHex<ExtToBn extends ToBn | ToBigInt>(value?: ExtToBn | BN | bigint | number | null, { bitLength, isLe, isNegative }?: NumberOptions): HexString;
|