getInt32List method

Int32List getInt32List (int length)

Reads the given number of Int32s from the buffer.

Implementation

Int32List getInt32List(int length) {
  _alignTo(4);
  final Int32List list = data.buffer.asInt32List(data.offsetInBytes + _position, length);
  _position += 4 * length;
  return list;
}