Add fetchSublist method to BinaryTable for improved data retrieval

This commit is contained in:
ImBenji
2025-10-10 12:37:34 +01:00
parent cf983c8d96
commit b15d11a5a4
11 changed files with 2362 additions and 611 deletions

View File

@@ -210,6 +210,17 @@ class BT_Reference {
}
}
BT_Type? get type {
if (_pointer.isNull) {
return null;
}
_table._file.setPositionSync(_pointer.address);
int typeId = _table._file.readByteSync();
return BT_Type.fromId(typeId);
}
@override
String toString() => _pointer.toString();
}