Scoop API

scoop:scoop.compression:0.1.0

DeflateMessageEncoder

class DeflateMessageEncoder

source · line 9
public
public class DeflateMessageEncoder public constructor(
    options: DeflateOptions = DeflateOptions(), contextTakeover: Boolean = true
) : Closeable

An RFC 7692 message encoder with explicit message boundaries and context-takeover selection. Finish each message before starting the next.

function nextMessage

source · line 40
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 44
public
public override fun close(): Unit

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