Method: Fiddle::Pointer.read
- Defined in:
- pointer.c
.Fiddle::Pointer.read(address, len) ⇒ String
Or read the memory at address address
with length len
and return a string with that memory
815 816 817 818 819 |
# File 'pointer.c', line 815 static VALUE rb_fiddle_ptr_read_mem(VALUE klass, VALUE address, VALUE len) { return rb_str_new((char *)NUM2PTR(address), NUM2ULONG(len)); } |