ByteImageStorage class final

Read-only view of an existing image. Reads alias bytes; close does not release or clear that buffer. Writes and truncation fail.

Implemented types

Constructors

ByteImageStorage(Uint8List bytes)

Properties

bytes → Uint8List
final
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