@@ -103,7 +103,7 @@ internal object CborNullSerializer : KSerializer<CborNull> {
103
103
}
104
104
}
105
105
106
- public object CborIntSerializer : KSerializer<CborNegativeInt> {
106
+ internal object CborIntSerializer : KSerializer<CborNegativeInt> {
107
107
override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor (" kotlinx.serialization.cbor.CborInt" , PrimitiveKind .LONG )
108
108
109
109
override fun serialize (encoder : Encoder , value : CborNegativeInt ) {
@@ -117,7 +117,7 @@ public object CborIntSerializer : KSerializer<CborNegativeInt> {
117
117
}
118
118
}
119
119
120
- public object CborUIntSerializer : KSerializer<CborPositiveInt> {
120
+ internal object CborUIntSerializer : KSerializer<CborPositiveInt> {
121
121
override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor (" CborUInt" , PrimitiveKind .LONG )
122
122
123
123
override fun serialize (encoder : Encoder , value : CborPositiveInt ) {
@@ -131,7 +131,7 @@ public object CborUIntSerializer : KSerializer<CborPositiveInt> {
131
131
}
132
132
}
133
133
134
- public object CborDoubleSerializer : KSerializer<CborDouble> {
134
+ internal object CborDoubleSerializer : KSerializer<CborDouble> {
135
135
override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor (" kotlinx.serialization.cbor.CborDouble" , PrimitiveKind .DOUBLE )
136
136
137
137
override fun serialize (encoder : Encoder , value : CborDouble ) {
@@ -149,7 +149,7 @@ public object CborDoubleSerializer : KSerializer<CborDouble> {
149
149
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborString].
150
150
* It can only be used by with [Cbor] format an its input ([CborDecoder] and [CborEncoder]).
151
151
*/
152
- public object CborStringSerializer : KSerializer<CborString> {
152
+ internal object CborStringSerializer : KSerializer<CborString> {
153
153
override val descriptor: SerialDescriptor =
154
154
PrimitiveSerialDescriptor (" kotlinx.serialization.cbor.CborString" , PrimitiveKind .STRING )
155
155
@@ -170,7 +170,7 @@ public object CborStringSerializer : KSerializer<CborString> {
170
170
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborBoolean].
171
171
* It can only be used by with [Cbor] format an its input ([CborDecoder] and [CborEncoder]).
172
172
*/
173
- public object CborBooleanSerializer : KSerializer<CborBoolean> {
173
+ internal object CborBooleanSerializer : KSerializer<CborBoolean> {
174
174
override val descriptor: SerialDescriptor =
175
175
PrimitiveSerialDescriptor (" kotlinx.serialization.cbor.CborBoolean" , PrimitiveKind .BOOLEAN )
176
176
@@ -191,7 +191,7 @@ public object CborBooleanSerializer : KSerializer<CborBoolean> {
191
191
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborByteString].
192
192
* It can only be used by with [Cbor] format and its input ([CborDecoder] and [CborEncoder]).
193
193
*/
194
- public object CborByteStringSerializer : KSerializer<CborByteString> {
194
+ internal object CborByteStringSerializer : KSerializer<CborByteString> {
195
195
override val descriptor: SerialDescriptor =
196
196
PrimitiveSerialDescriptor (" kotlinx.serialization.cbor.CborByteString" , PrimitiveKind .STRING )
197
197
@@ -213,7 +213,7 @@ public object CborByteStringSerializer : KSerializer<CborByteString> {
213
213
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborMap].
214
214
* It can only be used by with [Cbor] format and its input ([CborDecoder] and [CborEncoder]).
215
215
*/
216
- public object CborMapSerializer : KSerializer<CborMap> {
216
+ internal object CborMapSerializer : KSerializer<CborMap> {
217
217
private object CborMapDescriptor :
218
218
SerialDescriptor by MapSerializer (CborElementSerializer , CborElementSerializer ).descriptor {
219
219
@ExperimentalSerializationApi
@@ -238,7 +238,7 @@ public object CborMapSerializer : KSerializer<CborMap> {
238
238
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborList].
239
239
* It can only be used by with [Cbor] format an its input ([CborDecoder] and [CborEncoder]).
240
240
*/
241
- public object CborListSerializer : KSerializer<CborList> {
241
+ internal object CborListSerializer : KSerializer<CborList> {
242
242
private object CborListDescriptor : SerialDescriptor by ListSerializer(CborElementSerializer ).descriptor {
243
243
@ExperimentalSerializationApi
244
244
override val serialName: String = " kotlinx.serialization.cbor.CborList"
0 commit comments