@ethereumjs/util
@ethereumjs/util / fromSigned
fromSigned(num): bigint
num
bigint
Defined in: packages/util/src/bytes.ts:278
Interprets a Uint8Array as a signed integer and returns a BigInt. Assumes 256-bit numbers.
Uint8Array
BigInt
Signed integer value