putInt32 method

void putInt32 (
  1. int value,
  2. {Endian endian}
)

Write an Int32 into the buffer.

Implementation

void putInt32(int value, {Endian endian}) {
  _eightBytes.setInt32(0, value, endian ?? Endian.host);
  _buffer.addAll(_eightBytesAsList, 0, 4);
}