writeUint64 method

void writeUint64(
  1. int value, [
  2. Endian? endian
])

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:

Implementation

void writeUint64(int value, [Endian? endian]) =>
    writeByteData(8).setUint64Duffer(0, value, endian ?? kEndianness);