Scoop API

scoop:scoop.compression:0.1.0

decompressTo

function decompressTo

source · line 22
public
public suspend fun AsyncByteSource.decompressTo(destination: AsyncByteSink, options: DecompressionOptions = DecompressionOptions(), bufferSize: Long = 8192L): CompressionTotals

Extension receiver: AsyncByteSource

Copies and validates a complete compressed stream into the destination, returning actual byte totals. The source and destination remain borrowed.