to_str

ptr.to_str => string
ptr.to_str(len) => string
Instance Public methods

Returns the pointer contents as a string.

When called with no arguments, this method will return the contents with the length of this pointer's size.

When called with len, a string of len bytes will be returned.

See #to_s

doc_ruby_on_rails
2015-04-06 03:53:28
Comments
Leave a Comment

Please login to continue.