Decompressor

sealed interface Decompressor : CompressActor

Abstract Compression Actor: Decompressor

Marker sealed interface for a decompressor stream.

Inheritors

Properties

Link copied to clipboard
abstract val bytesWritten: Int

Number of bytes written through this compression stream so far.

Functions

Link copied to clipboard
abstract override fun close()

Regular close interface, as provided by Java's AutoCloseable and Closeable interfaces.

open fun close(callback: CloseStreamCallback)
open fun close(callback: Value?)

Closes the underlying compression stream, and dispatches the provided callback.

Link copied to clipboard
abstract fun flush()
open fun flush(callback: FlushStreamCallback)
open fun flush(callback: Value?)

Flush the underlying compression stream, and then invoke the provided callback.