encodeMessage abstract method

ByteData? encodeMessage(
  1. T message
)

Encodes the specified message in binary.

Returns null if the message is null.

Implementation

ByteData? encodeMessage(T message);