Package-level declarations

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

How to configure

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ProtobufMessagesInheritance

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