Skip to content

Commit f6bc421

Browse files
committed
visibility fixes
1 parent 46c8258 commit f6bc421

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

formats/cbor/commonMain/src/kotlinx/serialization/cbor/internal/CborElementSerializers.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ internal object CborNullSerializer : KSerializer<CborNull> {
103103
}
104104
}
105105

106-
public object CborIntSerializer : KSerializer<CborNegativeInt> {
106+
internal object CborIntSerializer : KSerializer<CborNegativeInt> {
107107
override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("kotlinx.serialization.cbor.CborInt", PrimitiveKind.LONG)
108108

109109
override fun serialize(encoder: Encoder, value: CborNegativeInt) {
@@ -117,7 +117,7 @@ public object CborIntSerializer : KSerializer<CborNegativeInt> {
117117
}
118118
}
119119

120-
public object CborUIntSerializer : KSerializer<CborPositiveInt> {
120+
internal object CborUIntSerializer : KSerializer<CborPositiveInt> {
121121
override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("CborUInt", PrimitiveKind.LONG)
122122

123123
override fun serialize(encoder: Encoder, value: CborPositiveInt) {
@@ -131,7 +131,7 @@ public object CborUIntSerializer : KSerializer<CborPositiveInt> {
131131
}
132132
}
133133

134-
public object CborDoubleSerializer : KSerializer<CborDouble> {
134+
internal object CborDoubleSerializer : KSerializer<CborDouble> {
135135
override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("kotlinx.serialization.cbor.CborDouble", PrimitiveKind.DOUBLE)
136136

137137
override fun serialize(encoder: Encoder, value: CborDouble) {
@@ -149,7 +149,7 @@ public object CborDoubleSerializer : KSerializer<CborDouble> {
149149
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborString].
150150
* It can only be used by with [Cbor] format an its input ([CborDecoder] and [CborEncoder]).
151151
*/
152-
public object CborStringSerializer : KSerializer<CborString> {
152+
internal object CborStringSerializer : KSerializer<CborString> {
153153
override val descriptor: SerialDescriptor =
154154
PrimitiveSerialDescriptor("kotlinx.serialization.cbor.CborString", PrimitiveKind.STRING)
155155

@@ -170,7 +170,7 @@ public object CborStringSerializer : KSerializer<CborString> {
170170
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborBoolean].
171171
* It can only be used by with [Cbor] format an its input ([CborDecoder] and [CborEncoder]).
172172
*/
173-
public object CborBooleanSerializer : KSerializer<CborBoolean> {
173+
internal object CborBooleanSerializer : KSerializer<CborBoolean> {
174174
override val descriptor: SerialDescriptor =
175175
PrimitiveSerialDescriptor("kotlinx.serialization.cbor.CborBoolean", PrimitiveKind.BOOLEAN)
176176

@@ -191,7 +191,7 @@ public object CborBooleanSerializer : KSerializer<CborBoolean> {
191191
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborByteString].
192192
* It can only be used by with [Cbor] format and its input ([CborDecoder] and [CborEncoder]).
193193
*/
194-
public object CborByteStringSerializer : KSerializer<CborByteString> {
194+
internal object CborByteStringSerializer : KSerializer<CborByteString> {
195195
override val descriptor: SerialDescriptor =
196196
PrimitiveSerialDescriptor("kotlinx.serialization.cbor.CborByteString", PrimitiveKind.STRING)
197197

@@ -213,7 +213,7 @@ public object CborByteStringSerializer : KSerializer<CborByteString> {
213213
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborMap].
214214
* It can only be used by with [Cbor] format and its input ([CborDecoder] and [CborEncoder]).
215215
*/
216-
public object CborMapSerializer : KSerializer<CborMap> {
216+
internal object CborMapSerializer : KSerializer<CborMap> {
217217
private object CborMapDescriptor :
218218
SerialDescriptor by MapSerializer(CborElementSerializer, CborElementSerializer).descriptor {
219219
@ExperimentalSerializationApi
@@ -238,7 +238,7 @@ public object CborMapSerializer : KSerializer<CborMap> {
238238
* Serializer object providing [SerializationStrategy] and [DeserializationStrategy] for [CborList].
239239
* It can only be used by with [Cbor] format an its input ([CborDecoder] and [CborEncoder]).
240240
*/
241-
public object CborListSerializer : KSerializer<CborList> {
241+
internal object CborListSerializer : KSerializer<CborList> {
242242
private object CborListDescriptor : SerialDescriptor by ListSerializer(CborElementSerializer).descriptor {
243243
@ExperimentalSerializationApi
244244
override val serialName: String = "kotlinx.serialization.cbor.CborList"

0 commit comments

Comments
 (0)