Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-serialization
1.8.0-RC
common
switch theme
search in API
kotlinx-serialization-protobuf
/
kotlinx.serialization.protobuf
/
ProtoBuf
/
Default
Default
object
Default
:
ProtoBuf
(
source
)
The default instance of
ProtoBuf
.
Members
Properties
serializers
Module
Link copied to clipboard
open
override
val
serializersModule
:
SerializersModule
Functions
decode
From
Byte
Array
Link copied to clipboard
open
override
fun
<
T
>
decodeFromByteArray
(
deserializer
:
DeserializationStrategy
<
T
>
,
bytes
:
ByteArray
)
:
T
encode
To
Byte
Array
Link copied to clipboard
open
override
fun
<
T
>
encodeToByteArray
(
serializer
:
SerializationStrategy
<
T
>
,
value
:
T
)
:
ByteArray