readScriptList static method
Implementation
static Map<String,dynamic> readScriptList(Uint8List data, int offset) {
final offset0 = offset;
Map<String,dynamic> obj = {};
final count = TyprBin.readUshort(data, offset);
offset += 2;
for (int i = 0; i < count; i++) {
final tag = TyprBin.readASCII(data, offset, 4);
offset += 4;
final noff = TyprBin.readUshort(data, offset);
offset += 2;
obj[tag.trim()] = readScriptTable(data, offset0 + noff);
}
return obj;
}