Encodes the specified methodCall into binary.
methodCall
ByteData encodeMethodCall(MethodCall methodCall);