StorageBackend class abstract interface

Byte-addressed storage; concrete backends define their durability guarantees.

Implementers

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>
length() → Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(int offset, Uint8List buffer) → Future<int>
sync() → Future<void>
toString() → String
A string representation of this object.
inherited
truncate(int size) → Future<void>
write(int offset, Uint8List bytes) → Future<void>

Operators

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