parseShortList method

dynamic parseShortList(
  1. int count
)

Implementation

parseShortList(int count) {
    var list = List<int>.filled(count, 0);
    var dataView = this.data;
    var offset = this.offset + this.relativeOffset;
    for (var i = 0; i < count; i++) {
        list[i] = dataView.getInt16(offset);
        offset += 2;
    }

    this.relativeOffset += count * 2;
    return list;
}