method

to_s

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Pointer
to_s(p1 = v1) public

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

Show source
Register or log in to add new notes.