BigIntToByteList extension

Extension to convert BigInt values to byte arrays.

Provides convenient conversion from BigInt to Uint8List for use in cryptographic operations where large integers need to be transmitted or hashed.

on

Methods

toByteList() Uint8List

Available on BigInt, provided by the BigIntToByteList extension

Converts this BigInt to a big-endian byte array.