FileByteSource class final
A file-backed random-access byte source with stable-length checks.
- Implemented types
Properties
Methods
-
close(
) → Future< void> - Closes the underlying file handle.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
ByteRange range) → Future< Uint8List> -
Reads exactly the bytes covered by
range.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
open(
String path) → Future< FileByteSource> -
Opens
pathfor random-access reads and snapshots its initial length.