MemVfsFile class

Inheritance

Constructors

MemVfsFile(String _path)

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>
Close this file handle.
override
flush() Future<void>
Flush (fsync) to durable storage. No-op on in-memory backend.
override
length() Future<int>
Current byte length of the file.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBytes(int offset, int count) Future<Uint8List>
Read count bytes starting at offset. Returns fewer bytes if EOF.
override
toString() String
A string representation of this object.
inherited
writeBytes(int offset, Uint8List data) Future<void>
Write data at offset. Extends the file if necessary.
override

Operators

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