ByteArrayTiffDataSource

TiffDataSource over an in-memory TIFF — for byte payloads that already live on the heap (a WCS response, a test fixture, a small file on a platform without random-access I/O).

Constructors

Link copied to clipboard
constructor(bytes: ByteArray)

Properties

Link copied to clipboard
open override val size: Long

Total byte length of the container.

Functions

Link copied to clipboard
open fun close()

Release the underlying handle. Idempotent; no-op by default.

Link copied to clipboard
open override fun read(offset: Long, length: Int): ByteArray

Read up to length bytes starting at offset.