SvsFile class
Represents an open SVS file handle, TIFF header information, and a pool of file descriptors for parallel I/O.
Constructors
Properties
- busyHandlesCount → int
-
Number of currently busy handles in the pool.
no setter
- cachedGlobalDisplayColor ↔ int?
-
Internal cache for global DisplayColor.
getter/setter pair
- cachedGlobalJpegTables ↔ Uint8List?
-
Internal cache for global JPEG tables.
getter/setter pair
- cachedTiledLevels ↔ Object?
-
Internal cache for tiled levels.
getter/setter pair
- endian → Endian
-
The byte order (endianness) of the TIFF/SVS file.
final
- filePath → String?
-
The file path of the SVS file, if opened from a file path.
final
- firstIfdOffset → int
-
Byte offset to the first Image File Directory (IFD).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idleHandlesCount → int
-
Number of currently idle handles in the pool.
no setter
- isBigTiff → bool
-
Whether the file is in BigTIFF format (64-bit offsets, magic 43).
final
- isClosed → bool
-
Whether the file is closed.
no setter
- maxConcurrency ↔ int
-
Returns the maximum allowed concurrent file handles.
getter/setter pair
- openHandlesCount → int
-
Number of currently open handles in the pool.
no setter
- raf → RandomAccessFile
-
The primary underlying random access file handle.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Closes all underlying file handles in the pool.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readBytesAt(
int offset, int count, {CancellationToken? cancelToken}) → Future< Uint8List> -
Concurrently sets position to
offsetand readscountbytes using an available handle from the pool. -
synchronized<
T> (Future< T> action()) → Future<T> -
Executes
actionsequentially to guarantee concurrency-safe access to metadata and IFDs. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited