FileByteSource class final
A DomeByteSource over a file (random access, nothing loaded up front).
- Implemented types
Properties
Methods
-
close(
) → Future< void> -
Releases the source (idempotent).
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
int offset, int count) → Future< Uint8List> -
Reads exactly
countbytes atoffset; throws RangeError past the end.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
open(
File file) → Future< FileByteSource> -
Opens
filefor reading.