Package-level declarations

Available in a dev version: 0․11․0-grpc-186

How to configure

Types

Link copied to clipboard

Exception thrown when a Protobuf message cannot be decoded from wire format.

Link copied to clipboard

Exception thrown when a Protobuf message cannot be encoded to wire format.

Link copied to clipboard

Base class for exceptions thrown during Protobuf encoding or decoding operations.

Functions

Link copied to clipboard
actual inline fun checkForPlatformDecodeException(block: () -> Unit)

Turns exceptions thrown by different platforms during decoding into ProtobufDecodingException.

actual inline fun checkForPlatformDecodeException(block: () -> Unit)

Turns exceptions thrown by different platforms during decoding into ProtobufDecodingException.

Link copied to clipboard
actual inline fun checkForPlatformEncodeException(block: () -> Unit)

Turns exceptions thrown by different platforms during encoding into ProtobufEncodingException.

actual inline fun checkForPlatformEncodeException(block: () -> Unit)

Turns exceptions thrown by different platforms during encoding into ProtobufEncodingException.

Link copied to clipboard
actual fun WireDecoder(source: Source): WireDecoder

Creates a platform-specific WireDecoder.

actual fun WireDecoder(source: Source): WireDecoder

This constructor takes a Source (which must be a Buffer) because the implementation (WireDecoderNative) depends on Buffer's internal structure.

Link copied to clipboard
actual fun WireEncoder(sink: Sink): WireEncoder
actual fun WireEncoder(sink: Sink): WireEncoder