putUint32 method

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

Write a Uint32 into the buffer.

Implementation

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