readUint16Array method

  1. @override
Uint16List readUint16Array(
  1. int length, [
  2. String? label
])
override

Implementation

@override
Uint16List readUint16Array(int length, [String? label]) {
  Uint16List list = Uint16List(length);
  for (int i = 0; i < length; i++) {
    list[i] = _raw.getUint16(_readIndex, Endian.little);
    _readIndex += 2;
  }
  return list;
}