write64 method
Write a U64 value into a buffer and shift cursor position by 8.
Implementation
BcsWriter write64(BigInt value) {
final low = value & BigInt.from(MAX_U32_NUMBER);
final high = value >> 32;
// write little endian number
write32(low.toInt());
write32(high.toInt());
return this;
}