JsonReadProgress
FinalYes
Methods
- add() : void
- lastLine() : int|null
- The 1-based line of the record read last; null unless the read started at the file's first byte.
- lastOffset() : int
- The byte offset of the line read last, or the 1-based number of the document element read last.
- lastRecord() : string|null
- The text of the line read last; null for a document element.
- recordAt() : void
- total() : int<0, max>
Methods
add()
public
add(int<0, max> $bytes) : void
Parameters
- $bytes : int<0, max>
lastLine()
The 1-based line of the record read last; null unless the read started at the file's first byte.
public
lastLine() : int|null
Return values
int|nulllastOffset()
The byte offset of the line read last, or the 1-based number of the document element read last.
public
lastOffset() : int
Return values
intlastRecord()
The text of the line read last; null for a document element.
public
lastRecord() : string|null
Return values
string|nullrecordAt()
public
recordAt(int $offset, int|null $line, string|null $record) : void
Parameters
- $offset : int
- $line : int|null
- $record : string|null
total()
public
total() : int<0, max>