JsonLineResync
Read onlyYes
FinalYes
A JSON string never holds a raw newline, so the first "\n" at or after a cut is a line boundary - no confirmation pass as for CSV.
Methods
- after() : null|int<0, max>
- The first byte offset at or after $from where a line starts; null when none does. Offset 0 starts one by definition. Monotonic in $from, so neighbouring windows cut at after(offset) share every boundary.
Methods
after()
The first byte offset at or after $from where a line starts; null when none does. Offset 0 starts one by definition. Monotonic in $from, so neighbouring windows cut at after(offset) share every boundary.
public
after(SourceStream $stream, int<0, max> $from) : null|int<0, max>
Parameters
- $stream : SourceStream
- $from : int<0, max>