ptr.to_s => string
ptr.to_s(len) => string
ptr.to_s(len) => string
Instance Public methods
Returns the pointer contents as a string.
When called with no arguments, this method will return the contents until the first NULL byte.
When called with len
, a string of len
bytes will
be returned.
See #to_str
Please login to continue.