readLookupList static method

List<Map<String, dynamic>> readLookupList(
  1. Uint8List data,
  2. int offset,
  3. dynamic subt
)

Implementation

static List<Map<String,dynamic>> readLookupList(Uint8List data, int offset, subt) {
  int offset0 = offset;
  List<Map<String,dynamic>> obj = [];
  int count = TyprBin.readUshort(data, offset);
  offset += 2;
  for (int i = 0; i < count; i++) {
    int noff = TyprBin.readUshort(data, offset);
    offset += 2;
    final lut = readLookupTable(data, offset0 + noff, subt);
    obj.add(lut);
  }
  return obj;
}