packInt32 method

void packInt32(
  1. int v
)

Implementation

void packInt32(int v) {
  if (_buf.length - _offset < 5) _nextBuf();
  _dat.setInt32(_offset, v, Endian.little);
  _offset += 4;
}