getHeaderFromPath static method
- String path
Get Database Header
Return (magic,version)
Implementation
static Future<(String, int)> getHeaderFromPath(String path) async {
final raf = await File(path).open();
final res = await TDB2Header.readHeader(raf);
await raf.close();
return res;
}