toBytes method
Converts a BigInt to bytes with specified length and endianness.
Implementation
Uint8List toBytes(int length, {Endianness endianness = Endianness.Big}) =>
ByteUtils.bigIntToBytes(this, length, endianness: endianness);
Converts a BigInt to bytes with specified length and endianness.
Uint8List toBytes(int length, {Endianness endianness = Endianness.Big}) =>
ByteUtils.bigIntToBytes(this, length, endianness: endianness);