TpsByteSource class abstract interface

Random access to the bytes of a .tps file, for TpsReader.

package:topspeed/topspeed_io.dart adds TpsFileSource, which reads a file on disk. Implement this interface to read from anywhere else.

final reader = TpsReader(TpsFileSource.open(r'C:\data\INV.TPS'));
Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
length → int
Total number of bytes.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Releases the source. Reads after this fail.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(int offset, int length) → Uint8List
Up to length bytes starting at offset; fewer only at the end.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited