writeUint64 method
Writes the value
as a 8 byte long unsigned integer
at the current writerIndex (inclusive).
endian
the endianness of the number, defaults to kEndianness which is initialized with Endian.big.
Exceptions:
-
WriteIndexOutOfRangeException if the current writer index is outside of the bounds of the buffer
-
BufferOverflowException if the length of the resulting bytes would overflow the buffer
Implementation
void writeUint64(int value, [Endian? endian]) =>
writeByteData(8).setUint64Duffer(0, value, endian ?? kEndianness);