readEncoding static method
Implementation
static List readEncoding(Uint8List data, int offset, int len) {
List array = ['.notdef'];
final format = data[offset];
offset++;
if (format == 0) {
final nCodes = data[offset];
offset++;
for (int i = 0; i < nCodes; i++){
array.add(data[offset + i]);
}
}
else
throw "error: unknown encoding format: $format";
return array;
}