toBytes method
Returns a byte-sequence representation of this integer.
Returns a list of int, starting with the least significant byte.
Implementation
@override
List<int?> toBytes() {
var result = List<int?>.filled(4, 0);
result[0] = _i & 0xff;
result[1] = (_i >> 8) & 0xff;
result[2] = (_i >> 16) & 0xff;
result[3] = (_i >> 24) & 0xff;
return result;
}