WireDecoder

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

How to configure

actual fun WireDecoder(source: Source): WireDecoder(source)

Creates a platform-specific WireDecoder.

NOTE: Do not use the source while the WireDecoder is still open.

Parameters

source

The Source containing the encoded wire-format data.

actual fun WireDecoder(source: Source): WireDecoder(source)

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