writeUint32 method

void writeUint32(
  1. int integer
)

Writes a 32 bit integer to the buffer.

Implementation

void writeUint32(int integer) {
  _data.setUint32(_writePos, integer, Endian.little);
  _writePos += 4;
}