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