writeUInt64 method
A BigInt is necessary to encode large 64-bit integers due to limits on the size of Javascript integers
Implementation
@override
writeUInt64(BigInt i) {
checkUint64(i);
_requireBytes(
8, () {
writeUInt32(i.toUnsigned(32).toInt());
writeUInt32((i >> 32).toUnsigned(32).toInt());
},
);
}