/** * Reads an array of unsigned long integer values from the memory address. * * @param offset The offset from the start of the memory area to read the values. * @param length The number of values to be read from memory. * @return An array containing the values. */ @JRubyMethod(name = "get_array_of_ulong", required = 2) public IRubyObject get_array_of_ulong(ThreadContext context, IRubyObject offset, IRubyObject length) { return Platform.getPlatform().longSize() == 32 ? get_array_of_uint32(context, offset, length) : get_array_of_uint64(context, offset, length); }
/** * Reads an array of unsigned long integer values from the memory address. * * @param offset The offset from the start of the memory area to read the values. * @param length The number of values to be read from memory. * @return An array containing the values. */ @JRubyMethod(name = "get_array_of_ulong", required = 2) public IRubyObject get_array_of_ulong(ThreadContext context, IRubyObject offset, IRubyObject length) { return Platform.getPlatform().longSize() == 32 ? get_array_of_uint32(context, offset, length) : get_array_of_uint64(context, offset, length); }
/** * Reads an array of unsigned long integer values from the memory address. * * @param offset The offset from the start of the memory area to read the values. * @param length The number of values to be read from memory. * @return An array containing the values. */ @JRubyMethod(name = "get_array_of_ulong", required = 2) public IRubyObject get_array_of_ulong(ThreadContext context, IRubyObject offset, IRubyObject length) { return Platform.getPlatform().longSize() == 32 ? get_array_of_uint32(context, offset, length) : get_array_of_uint64(context, offset, length); }
/** * Reads an array of unsigned long integer values from the memory address. * * @param offset The offset from the start of the memory area to read the values. * @param length The number of values to be read from memory. * @return An array containing the values. */ @JRubyMethod(name = "get_array_of_ulong", required = 2) public IRubyObject get_array_of_ulong(ThreadContext context, IRubyObject offset, IRubyObject length) { return Platform.getPlatform().longSize() == 32 ? get_array_of_uint32(context, offset, length) : get_array_of_uint64(context, offset, length); }