Scoop API

scoop:scoop.compression:0.1.0

Companion

object Companion

source · line 65
public
public companion

Factories that explicitly transfer endpoint cleanup responsibility.

function takeOwnership

source · line 69
public
public fun <T> takeOwnership(source: T, options: DecompressionOptions = DecompressionOptions(), bufferSize: Long = 8192L): AsyncDecompressionSource where T : AsyncByteSource, T : AsyncCloseable

Creates an adapter that closes the supplied endpoint during its own cleanup.