Protocolgrpc-swift 2.0.0GRPCCore
MessageDeserializer
Deserializes a sequence of bytes into a message.
protocol MessageDeserializer<Message> : Sendable
Browse conforming typesMessage deserializers convert a sequence of bytes into a message. Deserializers are used to convert bytes received from the network into an application specific message. The reverse operation, serialization, is performed by a MessageSerializer
.
Deserializers are used frequently and implementations should take care to ensure that deserialization is as cheap as possible.