Package-level declarations

Internal packet codecs and wire-format helpers. Not part of the public API — exposed here for Dokka completeness but marked internal at compile time.

Types

Link copied to clipboard
data class Subscription(val topicFilter: String, val maxQos: QoS = QoS.AT_MOST_ONCE, val noLocal: Boolean = false, val retainAsPublished: Boolean = false, val retainHandling: RetainHandling = RetainHandling.SEND_AT_SUBSCRIBE)

A single topic subscription with MQTT 5.0 subscription options per §3.8.3.1.

Link copied to clipboard

Variable Byte Integer encoding/decoding per MQTT 5.0 §1.5.5.

Link copied to clipboard
data class VbiResult(val value: Int, val bytesConsumed: Int)

Result of decoding a Variable Byte Integer.