decompressWithSyncFlush

suspend fun decompressWithSyncFlush(buffer: ReadBuffer, zone: AllocationZone = AllocationZone.Direct): ReadBuffer

Decompresses data that was compressed with compressWithSyncFlush.

Automatically appends the sync marker before decompression without copying the input buffer.

Return

The decompressed data.

Parameters

buffer

The compressed data (without sync marker).

zone

The allocation zone for the output buffer.