@JRubyMethod(name = "initialize", visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject sizeArg, IRubyObject arg2, Block block) { return init(context, sizeArg, getCount(arg2), (IN | OUT), block); }
@JRubyMethod(name = { "alloc_inout", "__alloc_inout" }, meta = true) public static Buffer allocateInOut(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), IN | OUT); }
@JRubyMethod(name = { "alloc_inout", "__alloc_inout" }, meta = true) public static Buffer allocateInOut(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), IN | OUT); }
@JRubyMethod(name = { "new_out", "alloc_out", "__alloc_out" }, meta = true) public static Buffer allocateOutput(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), OUT); }
@JRubyMethod(name = "initialize", visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject sizeArg, IRubyObject arg2) { return init(context, sizeArg, getCount(arg2), IN | OUT); }
@JRubyMethod(name = { "new_in", "alloc_in", "__alloc_in" }, meta = true) public static Buffer allocateInput(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), IN); }
@JRubyMethod(name = { "alloc_inout", "__alloc_inout" }, meta = true) public static Buffer allocateInOut(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), IN | OUT); }
@JRubyMethod(name = { "new_in", "alloc_in", "__alloc_in" }, meta = true) public static Buffer allocateInput(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), IN); }
@JRubyMethod(name = { "alloc_inout", "__alloc_inout" }, meta = true) public static Buffer allocateInOut(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), IN | OUT); }
@JRubyMethod(name = { "new_in", "alloc_in", "__alloc_in" }, meta = true) public static Buffer allocateInput(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), IN); }
@JRubyMethod(name = { "new_in", "alloc_in", "__alloc_in" }, meta = true) public static Buffer allocateInput(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), IN); }
@JRubyMethod(name = "initialize", visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject sizeArg, IRubyObject arg2, Block block) { return init(context, sizeArg, getCount(arg2), (IN | OUT), block); }
@JRubyMethod(name = { "new_out", "alloc_out", "__alloc_out" }, meta = true) public static Buffer allocateOutput(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), OUT); }
@JRubyMethod(name = { "new_out", "alloc_out", "__alloc_out" }, meta = true) public static Buffer allocateOutput(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), OUT); }
@JRubyMethod(name = { "new_out", "alloc_out", "__alloc_out" }, meta = true) public static Buffer allocateOutput(ThreadContext context, IRubyObject recv, IRubyObject sizeArg, IRubyObject arg2) { return allocate(context, recv, sizeArg, getCount(arg2), OUT); }
@JRubyMethod(name = "initialize", visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject sizeArg, IRubyObject arg2, Block block) { return init(context, sizeArg, getCount(arg2), (IN | OUT), block); }