TpsFileSource class
A TpsByteSource that reads a file on disk as needed.
The file is opened read-only, so a Clarion program can keep using it. Check TpsReader.changedOnDisk when reads span a long time.
- Implemented types
Constructors
- TpsFileSource.open(String path)
-
Opens the file at
pathfor reading.factory
Properties
Methods
-
close(
) → void -
Releases the source. Reads after this fail.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
int offset, int length) → Uint8List -
Up to
lengthbytes starting atoffset; fewer only at the end.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited