RandomAccessSource class abstract

Base class for random access sources.

Implementers

Constructors

RandomAccessSource.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the source.
length() Future<int>
Gets the length of the source.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
position() Future<int>
Gets the current position in the source.
read(int length) Future<Uint8List>
Reads an array of bytes from the source.
readByte() Future<int>
Reads a byte from the source.
readToEnd() Future<Uint8List>
Reads all the remaining bytes from the source.
setPosition(int position) Future<void>
Sets the current position in the source.
toString() String
A string representation of this object.
inherited

Operators

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