encodeMessage method

ByteData encodeMessage (T message)

Encodes the specified message in binary.

Returns null if the message is null.

Implementation

ByteData encodeMessage(T message);