openSpkFile function
- String path
Opens the SPK file at path: reads the summary records now and
segment data from disk only when needed. The file stays open until
the program exits.
Throws FormatException if the file is not an SPK file.
Implementation
SpkFile openSpkFile(String path) =>
SpkFile.fromSource(_FileSource(File(path).openSync()));