setUint64 method
Writes an unsigned integer to 8-bytes.
The offset must satisy the relations 0 ≤ offset ≤ offset+8 ≤ this.length.
final Buffer buffer = Buffer(8);
buffer.setInt64(6797927951541548548, 0);
print(buffer); // [4, 54, 85, 120, 116, 23, 87, 94]
Implementation
void setUint64(final BigInt value, final int offset, [final Endian endian = Endian.little]) {
setBigUint(value, offset, ByteLength.u64, endian);
}