Expand description
Format-aware resume: newline skip for NT/NQ, prefix+offset for Turtle/TriG/N3. Gzip/XML/JSON-LD stay skip-N (cannot seek honestly).
Structs§
- Byte
Counter - Counts bytes the inner reader actually delivers (parser-facing).
- Prefix
Capture - Copies
@prefix/@base/PREFIX/BASEstatements intoprolog. - Resume
Cursor
Constants§
Functions§
- format_
can_ seek truewhenfmtsupports byte-offset seeking.- format_
is_ line_ oriented truewhenfmtparses line-by-line (ND/NT/NQ).- format_
uses_ prolog truewhenfmtparses through the Prolog engine.- open_
resumed_ file - Open a seekable file, optionally resume at
cursor. - skip_
newlines - Skip
nnewline-terminated records. Returns (bytes consumed, unread tail after the nth newline so the next parser does not lose triples).