Top Description Constructors Methods
org.springframework.http.codec.cbor

public Class KotlinSerializationCborDecoder

extends org.springframework.http.codec.KotlinSerializationBinaryDecoder<kotlinx.serialization.cbor.Cbor>
Class Inheritance
Imports
kotlinx.serialization.cbor.Cbor, org.springframework.http.MediaType, org.springframework.http.codec.KotlinSerializationBinaryDecoder

Decode a byte stream into CBOR and convert to Objects with kotlinx.serialization.

This decoder can be used to bind @Serializable Kotlin classes, open polymorphic serialization is not supported. It supports application/cbor.

Decoding streams is not supported yet, see kotlinx.serialization/issues/1073 related issue.

Author
Iain Henderson
Since
6.0

Constructor Summary

AccessConstructor and Description
public
public
KotlinSerializationCborDecoder(kotlinx.serialization.cbor.Cbor cbor)

Method Summary

Inherited from org.springframework.http.codec.KotlinSerializationBinaryDecoder:
canDecodedecodedecodeToMonogetDecodableMimeTypesgetDecodableMimeTypesgetMaxInMemorySizesetMaxInMemorySize

Constructor Detail

KotlinSerializationCborDecoderback to summary
public KotlinSerializationCborDecoder()
KotlinSerializationCborDecoderback to summary
public KotlinSerializationCborDecoder(kotlinx.serialization.cbor.Cbor cbor)