FileByteSource class

A TiffByteSource backed by a file on disk, read on demand via RandomAccessFile instead of loading the whole file into memory — the point of BigTIFF, which exists for multi-gigabyte files.

Keeps a single sliding window buffer so the many small, nearby reads that header/IFD parsing does don't each cost a separate disk read; only a cache miss (e.g. jumping to a strip/tile far from the last read) triggers real I/O.

Not available on web (dart:io) — kept out of the main tiff.dart export so decoding from an in-memory buffer stays platform-agnostic. Import package:tiff/tiff_io.dart to use this.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Releases any underlying resources (e.g. an open file handle). Safe to call even if there's nothing to release.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBytes(int offset, int count) Uint8List
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

open(File file) FileByteSource