Default

The default instance of ProtoBuf.

object Default : ProtoBuf

Functions

decodeFromByteArray
Link copied to clipboard
common
open override fun <T> decodeFromByteArray(deserializer: DeserializationStrategy<T>, bytes: ByteArray): T
encodeToByteArray
Link copied to clipboard
common
open override fun <T> encodeToByteArray(serializer: SerializationStrategy<T>, value: T): ByteArray
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

serializersModule
Link copied to clipboard
common

application-specific SerializersModule to provide custom serializers.

open override val serializersModule: SerializersModule