Fiddle::Pointer is a class to handle C pointers
ptr[index] = int â intptr[start, length] = string or cptr or addr â string or dl_cptr or addr
ptr + n => new cptr Instance Public methods Returns a new pointer instance
ptr.to_str => stringptr.to_str(len) => string Instance Public methods
ptr - n => new cptr Instance Public methods Returns a new pointer instance
free=(function) Instance Public methods
to_ptr(val) => cptr Class Public methods Get the underlying pointer for
ref Instance Public methods Returns a new
ptr Instance Public methods Returns a new
inspect Instance Public methods Returns a string formatted with an easily readable
size Instance Public methods Get the size of this pointer.
Page 2 of 3