decompressWithSyncFlush

suspend fun decompressWithSyncFlush(buffer: ReadBuffer, factory: BufferFactory = BufferFactory.Default): 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).

factory

The buffer factory for the output buffer.