@JRubyMethod(meta = true) public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes, IRubyObject encoding) { return JavaArrayUtilities.bytes_to_ruby_string(context, bytes, bytes, encoding); }
@JRubyMethod public static IRubyObject to_java_bytes(ThreadContext context, IRubyObject self) { return JavaArrayUtilities.ruby_string_to_bytes(self, self); }
JavaArrayUtilities.createJavaArrayUtilitiesModule(runtime);
JavaArrayUtilities.createJavaArrayUtilitiesModule(runtime);
@JRubyMethod(meta = true) public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes) { return JavaArrayUtilities.bytes_to_ruby_string(context, bytes, bytes); }
@JRubyMethod public static IRubyObject to_java_bytes(ThreadContext context, IRubyObject self) { return JavaArrayUtilities.ruby_string_to_bytes(self, self); }
JavaArrayUtilities.createJavaArrayUtilitiesModule(runtime);
@JRubyMethod(meta = true) public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes) { return JavaArrayUtilities.bytes_to_ruby_string(context, bytes, bytes); }
@JRubyMethod public static IRubyObject to_java_bytes(ThreadContext context, IRubyObject self) { return JavaArrayUtilities.ruby_string_to_bytes(self, self); }
JavaArrayUtilities.createJavaArrayUtilitiesModule(runtime);
@JRubyMethod(meta = true) public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes) { return JavaArrayUtilities.bytes_to_ruby_string(context, bytes, bytes); }
@JRubyMethod public static IRubyObject to_java_bytes(ThreadContext context, IRubyObject self) { return JavaArrayUtilities.ruby_string_to_bytes(self, self); }
@JRubyMethod(meta = true) public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes) { return JavaArrayUtilities.bytes_to_ruby_string(context, bytes, bytes); }
@JRubyMethod(module = true, visibility = Visibility.PRIVATE) public static IRubyObject bytes_to_ruby_string(ThreadContext context, IRubyObject recv, IRubyObject wrappedObject) { return bytes_to_ruby_string(context, recv, wrappedObject, context.nil); }
@JRubyMethod(meta = true) public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes, IRubyObject encoding) { return JavaArrayUtilities.bytes_to_ruby_string(context, bytes, bytes, encoding); }
@JRubyMethod(module = true, visibility = Visibility.PRIVATE) public static IRubyObject bytes_to_ruby_string(ThreadContext context, IRubyObject recv, IRubyObject wrappedObject) { return bytes_to_ruby_string(context, recv, wrappedObject, context.nil); }
@JRubyMethod(module = true, visibility = Visibility.PRIVATE) public static IRubyObject bytes_to_ruby_string(ThreadContext context, IRubyObject recv, IRubyObject wrappedObject) { return bytes_to_ruby_string(context, recv, wrappedObject, context.nil); }
@JRubyMethod(meta = true) public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes, IRubyObject encoding) { return JavaArrayUtilities.bytes_to_ruby_string(context, bytes, bytes, encoding); }
@JRubyMethod(meta = true) public static IRubyObject from_java_bytes(ThreadContext context, IRubyObject self, IRubyObject bytes, IRubyObject encoding) { return JavaArrayUtilities.bytes_to_ruby_string(context, bytes, bytes, encoding); }
@JRubyMethod(module = true, visibility = Visibility.PRIVATE) public static IRubyObject bytes_to_ruby_string(ThreadContext context, IRubyObject recv, IRubyObject wrappedObject) { return bytes_to_ruby_string(context, recv, wrappedObject, context.nil); }