putInt32 method

void putInt32(
  1. int num
)

Implementation

void putInt32(int num) {
  var bytesList =
      ByteConversionUtilities.bytesFromInt32(num, endian: _endian);
  _data.setRange(_position, _position + bytesList.length, bytesList);
  _position = _position + bytesList.length;
}