CborException

class CborException(message: String, val offset: Int = -1) : KcoapException(source)

Thrown for malformed or unsupported CBOR (RFC 8949), with the byte offset where reading stopped, and for COSE structures that are not what RFC 9052 requires. A KcoapException.

Constructors

Link copied to clipboard
constructor(message: String, offset: Int = -1)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?
Link copied to clipboard
val offset: Int