/** * Writes an array of signed 32 bit integer values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_int32", "write_array_of_int" }, required = 1) public IRubyObject write_array_of_int32(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfSigned32(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of unsigned 64 bit integer values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_uint64", "write_array_of_ulong_long" }, required = 1) public IRubyObject write_array_of_uint64(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfUnsigned64(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of 64 bit floating point values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_float64", "write_array_of_double" }, required = 1) public IRubyObject write_array_of_float64(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfFloat64(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of unsigned 32 bit integer values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_uint32", "write_array_of_uint" }, required = 1) public IRubyObject write_array_of_uint32(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfUnsigned32(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of signed 64 bit integer values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_int64", "write_array_of_long_long" }, required = 1) public IRubyObject write_array_of_int64(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfSigned64(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of 32 bit floating point values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_float32", "write_array_of_float" }, required = 1) public IRubyObject write_array_of_float(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfFloat32(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of unsigned 16 bit integer values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_uint16", "write_array_of_ushort" }, required = 1) public IRubyObject write_array_of_uint16(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfUnsigned16(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of signed 32 bit integer values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_int32", "write_array_of_int" }, required = 1) public IRubyObject write_array_of_int32(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfSigned32(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of unsigned 32 bit integer values to the memory area. * * @param ary The array of values to write to the memory area. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "write_array_of_uint32", "write_array_of_uint" }, required = 1) public IRubyObject write_array_of_uint32(ThreadContext context, IRubyObject ary) { MemoryUtil.putArrayOfUnsigned32(context.runtime, getMemoryIO(), 0, checkArray(ary)); return this; }
/** * Writes an array of signed 32 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_int32", "put_array_of_int" }, required = 2) public IRubyObject put_array_of_int32(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfSigned32(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of unsigned 8 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_uint8", "put_array_of_uchar" }, required = 2) public IRubyObject put_array_of_uint8(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfUnsigned8(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of 64 bit floating point values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param arrParam Array of values to write to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_float64", "put_array_of_double" }, required = 2) public IRubyObject put_array_of_float64(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfFloat64(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of unsigned 32 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_uint32", "put_array_of_uint" }, required = 2) public IRubyObject put_array_of_uint32(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfUnsigned32(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of unsigned 64 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_uint64", "put_array_of_ulong_long" }, required = 2) public IRubyObject put_array_of_uint64(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfUnsigned64(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of signed 8 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_int8", "put_array_of_char" }, required = 2) public IRubyObject put_array_of_int8(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfSigned8(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of signed 64 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_int64", "put_array_of_long_long" }, required = 2) public IRubyObject put_array_of_int64(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfSigned64(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of unsigned 8 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_uint8", "put_array_of_uchar" }, required = 2) public IRubyObject put_array_of_uint8(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfUnsigned8(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of signed 16 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_int16", "put_array_of_short" }, required = 2) public IRubyObject put_array_of_int16(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfSigned16(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of unsigned 32 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_uint32", "put_array_of_uint" }, required = 2) public IRubyObject put_array_of_uint32(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfUnsigned32(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }
/** * Writes an array of signed 16 bit integer values to the memory area. * * @param offset The offset from the start of the memory area to write the values. * @param length The number of values to be written to memory. * @return <tt>this</tt> object. */ @JRubyMethod(name = { "put_array_of_int16", "put_array_of_short" }, required = 2) public IRubyObject put_array_of_int16(ThreadContext context, IRubyObject offset, IRubyObject arrParam) { MemoryUtil.putArrayOfSigned16(context.runtime, getMemoryIO(), getOffset(offset), checkArray(arrParam)); return this; }