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