Scoop API

scoop:scoop.compression:0.1.0

DeflateMessageDecoder

class DeflateMessageDecoder

source · line 51
public
public class DeflateMessageDecoder public constructor(
    windowBits: Int = 15, contextTakeover: Boolean = true, maxOutputBytes: Long? = None
) : Closeable

An RFC 7692 message decoder with explicit boundaries, window size, context takeover, and optional output limit.

function nextMessage

source · line 78
public
public fun nextMessage(): Unit

Starts the next message after the previous one finished, retaining or resetting history according to context takeover.

function close

source · line 82
public
public override fun close(): Unit

Releases native codec state. Closing does not finish incomplete stream or message data.