writeUnsignedInt method

void writeUnsignedInt(
  1. int v
)

Writes a 4 byte unsigned int using the current endian format.

Implementation

void writeUnsignedInt(int v) {
  final d = ByteData(4)..setUint32(0, v, endian);
  _dest.add(d.buffer.asUint8List(d.offsetInBytes, 4));
}