XcfFileInput class final
Bounded cached file input, owned and closed by its caller.
- Implemented types
Constructors
- XcfFileInput(String path, {int cacheBytes = 64 * 1024})
-
Opens a file without reading its contents.
factory
Properties
- cacheBytes → int
-
Maximum cache capacity.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
Total byte length, limited to JavaScript's exact integer range.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Releases the handle; rasters referring to this source can no longer read.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
int offset, int count) → Uint8List -
Reads an owned or immutable range without changing the source.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited