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