FileReader class

The FileReader implements a ByteReader from files, providing access to input data via RandomAccessFile.

Implemented types

Constructors

FileReader(RandomAccessFile fp, {required int bufferSize, bool isFixedLength = true})

Properties

bufferSize int
Buffer size of read data, in bytes.
final
fp RandomAccessFile
Random access file input data handler.
final
hashCode int
The hash code for this object.
no setterinherited
length int
Returns the length of the input data in bytes.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readByte(int offset) int
Reads a byte at the specified offset and returns that byte.
override
toString() String
A string representation of this object.
inherited

Operators

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