writeInt32 method

void writeInt32(
  1. int integer
)

Writes a 32 bit integer to the buffer.

Implementation

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