Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class CborMerge
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class CborSerializable(val typeKey: String = "", val typeId: String = "", val schemaHash: String = "", val schemaId: String = "")

Marks class for automatic CBOR serialization code generation.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class CborSerializableGenerated(val schemaId: String)

Annotation that is used in the generated code to communicate assigned schemaId to other compilation modules.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class CborSerializationImplemented(val schemaId: String)

Annotation for classes that provide their own (manually coded) CBOR serialization.