class

GRPC::Marshaller(T)

Inherits Reference < Object

Marshaller converts between typed messages and raw bytes.

gRPC transport remains byte-oriented; only typed boundaries should depend on a marshaller.

Instance methods

decode(bytes : Bytes) : T
Source
encode(value : T) : Bytes
Source