setInt64 method
Writes a signed integer to 8-bytes.
The offset must satisy the relations 0 ≤ offset ≤ offset+8 ≤ this.length.
final Buffer buffer = Buffer(8);
buffer.setInt64(2310355955765743624, 0);
print(buffer); // [8, 16, 32, 64, 128, 8, 16, 32]
Implementation
void setInt64(final int value, final int offset, [final Endian endian = Endian.little]) {
return asByteData().setInt64(offset, value, endian);
}