readSubClassRule static method
Implementation
static Map<String, dynamic> readSubClassRule(Uint8List data, int offset) {
int Function(Uint8List,int) rUs = TyprBin.readUshort;
Map<String, dynamic> rule = {};
int gcount = rUs(data, offset);
offset += 2;
int scount = rUs(data, offset);
offset += 2;
rule["input"] = [];
for (int i = 0; i < gcount - 1; i++) {
rule["input"].add(rUs(data, offset));
offset += 2;
}
rule["substLookupRecords"] = readSubstLookupRecords(data, offset, scount);
return rule;
}