writeLong method
Write a single 8 byte long.
Implementation
void writeLong(int value, {bool signed = false}) {
flush(8);
signed
? writeByteData.setInt64(writePosition, value, _endianness)
: writeByteData.setUint64(writePosition, value, _endianness);
writePosition += 8;
}