EncodingSchema
class EncodingSchema(val serializersModule: SerializersModule, val types: Map<String, Type>) : BinaryFormat
A BinaryFormat for encoding and decoding protobuf messages. Applications should obtain instances of this class using the encodingSchema function.
Functions
Link copied to clipboard
open override fun <T> decodeFromByteArray(deserializer: DeserializationStrategy<T>, bytes: ByteArray): T
Link copied to clipboard
Link copied to clipboard
Converts an EncodingSchema to a SchemaDocument, which may be serialized using SchemaDocumentWriter, validated using validate, and compared with other SchemaDocuments.