object Companion
source · line 71public
public companion
Factories that explicitly transfer endpoint cleanup responsibility.
function takeOwnership
source · line 75public
public fun <T> takeOwnership(sink: T, options: DecompressionOptions = DecompressionOptions(), bufferSize: Long = 8192L): DecompressionSink where T : ByteSink, T : Closeable
Creates an adapter that closes the supplied endpoint during its own cleanup.
parameter options
source · line 75public
options: DecompressionOptions = DecompressionOptions()
parameter sink
source · line 75public
sink: T
type parameter T
source · line 75public
T
parameter bufferSize
source · line 76public
bufferSize: Long = 8192L