writeLong method

void writeLong(
  1. int v
)

Writes an 8 byte long int using the current endian format.

Implementation

void writeLong(int v) {
  final d = ByteData(8)..setInt64(0, v, endian);
  _dest.add(d.buffer.asUint8List(d.offsetInBytes, 8));
}