writeUnsignedLong method

void writeUnsignedLong(
  1. int v
)

Writes an unsigned 8 byte long using the current endian format. Converts a Dart int according to the semantics of [ByteData.setUint64`.

Implementation

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