decode

open override fun decode(bytes: ByteArray): CoapMessage(source)

Decodes exactly one message; bytes must contain nothing else.