ReadOnlyFileStorageBackend class final
Read-only file access, with serialized seek/read operations. No file locking; callers must supply a stable copy without a hot journal or uncheckpointed WAL.
- Implemented types
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> -
override
-
length(
) → Future< int> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
int offset, Uint8List buffer) → Future< int> -
override
-
sync(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
truncate(
int size) → Future< void> -
override
-
write(
int offset, Uint8List bytes) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
open(
String path) → Future< ReadOnlyFileStorageBackend>