encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(BigInt value, Output output) {
if (value <
BigInt.parse(
'-57896044618658097711785492504343953926634992332820282019728792003956564819968') ||
value >
BigInt.parse(
'57896044618658097711785492504343953926634992332820282019728792003956564819967')) {
throw OutOfBoundsException();
}
U256Codec.codec.encodeTo(value.toUnsigned(256), output);
}