Package-level declarations

Types

Link copied to clipboard
class ByteArrayDecoder(val serializersModule: SerializersModule, values: List<WireValue>) : HybridDecoder
Link copied to clipboard
class ByteArrayEncoder(val serializersModule: SerializersModule, output: WireBuffer, fieldNumber: FieldNumber, encodeZeroValue: Boolean) : HybridEncoder
Link copied to clipboard
sealed class FieldEncoding
Link copied to clipboard
abstract class HybridDecoder : Decoder, CompositeDecoder
Link copied to clipboard
abstract class HybridEncoder : Encoder, CompositeEncoder
Link copied to clipboard
class ListDecoder(val serializersModule: SerializersModule, elementType: FieldEncoding, input: List<WireValue>, elementDecoder: (List<WireValue>) -> Decoder) : HybridDecoder
Link copied to clipboard
class ListEncoder(val serializersModule: SerializersModule, fieldNumber: FieldNumber, packed: Boolean, output: WireBuffer, elementEncoder: (WireBuffer) -> Encoder) : HybridEncoder
Link copied to clipboard
class MapDecoder(val serializersModule: SerializersModule, keyField: Field, valueField: Field, entries: List<WireValue>) : HybridDecoder
Link copied to clipboard
class MapEncoder(val serializersModule: SerializersModule, fieldNumber: FieldNumber, keyField: Field, valueField: Field, output: WireBuffer) : HybridEncoder
Link copied to clipboard
class MessageDecoder(val serializersModule: SerializersModule, fieldByElementIndex: List<Field>, wireValues: List<WireValue>) : HybridDecoder
Link copied to clipboard
class MessageEncoder(val serializersModule: SerializersModule, fieldByElementIndex: List<Field>, fieldNumber: FieldNumber?, output: WireBuffer, encodeZeroValue: Boolean, encodeZeroValues: Boolean) : HybridEncoder
Link copied to clipboard
class PolymorphicDecoder(val serializersModule: SerializersModule, fieldByDescriptor: Map<FieldNumber, Pair<SerialDescriptor, Field>>, wireValues: List<WireValue>) : HybridDecoder
Link copied to clipboard
class PolymorphicEncoder(val serializersModule: SerializersModule, fieldByDescriptor: Map<SerialDescriptor, Field>, fieldNumber: FieldNumber?, output: WireBuffer) : HybridEncoder
Link copied to clipboard
class PrimitiveDecoder(val serializersModule: SerializersModule, values: List<WireValue>, type: FieldEncoding?) : Decoder
Link copied to clipboard
class PrimitiveEncoder(val serializersModule: SerializersModule, output: WireBuffer, encoding: FieldEncoding, encodeZeroValue: Boolean, fieldNumber: FieldNumber? = null) : Encoder
Link copied to clipboard
class SyntheticDecoder(val serializersModule: SerializersModule, wireValues: List<WireValue>, field: Field) : Decoder
Link copied to clipboard
class SyntheticEncoder(val serializersModule: SerializersModule, output: WireBuffer, field: Field, fieldNumber: FieldNumber) : Encoder, CompositeEncoder

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun fixed32(value: Int, encodeZeroValue: Boolean): WireValue.Fixed32?
Link copied to clipboard
fun fixed64(value: Long, encodeZeroValue: Boolean): WireValue.Fixed64?
Link copied to clipboard
fun len(value: ByteArray, encodeZeroValue: Boolean): WireValue.Len?
fun len(value: String, encodeZeroValue: Boolean): WireValue.Len?
Link copied to clipboard
fun varInt(value: Int, encodeZeroValue: Boolean): WireValue.VarInt?
fun varInt(value: Long, encodeZeroValue: Boolean): WireValue.VarInt?