Encodes the specified message in binary.
message
Returns null if the message is null.
@override ByteData? encodeMessage(Object? message) => encoder.encodeMessage(message);