Properties
Readonly
value
value: RedBN
Methods
clone
- clone(a?: RedBN): FBN
-
Returns FBN
eq
- eq(a: FBN): boolean
-
Returns boolean
pow
- pow(a: number): FBN
-
Returns FBN
serialize
- serialize(len?: number): Uint8Array
-
Parameters
-
len: number = SUPPORTED_GROUP_LEN
Returns Uint8Array
toBigInt
- toBigInt(): bigint
-
Returns bigint
toNumber
- toNumber(): number
-
Returns number
toString
- toString(): string
-
Returns string
Static
deserialize
- deserialize(value: string | number | bigint | BN | Uint8Array, red: BN, en: Endianness): FBN
-
Parameters
-
value: string | number | bigint | BN | Uint8Array
-
red: BN
-
en: Endianness
Returns FBN
Add
Returns