Scoop API

scoop:scoop.compression:0.1.0

decompressTo

function decompressTo

source · line 21
public
public fun ByteSource.decompressTo(destination: ByteSink, options: DecompressionOptions = DecompressionOptions(), bufferSize: Long = 8192L): CompressionTotals

Extension receiver: ByteSource

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