decode<T extends Message> method
- MessageDecoder<
T> decoder
Decodes the wrapped message into a message of type T
.
Implementation
T decode<T extends Message>(MessageDecoder<T> decoder) => decoder(data);
Decodes the wrapped message into a message of type T
.
T decode<T extends Message>(MessageDecoder<T> decoder) => decoder(data);