writeInt32 method

void writeInt32(
  1. int i, [
  2. Endian endian = Endian.big
])

Implementation

void writeInt32(int i, [Endian endian = Endian.big]) {
  _ensureSize(4);
  _scratchData?.setInt32(_scratchOffset, i, endian);
  _scratchOffset += 4;
}