to_s

ptr.to_s => 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

doc_ruby_on_rails
2015-04-06 03:51:34
Comments
Leave a Comment

Please login to continue.