Method: FFI::Pointer#read_string_to_null
- Defined in:
- lib/ffi/pointer.rb
#read_string_to_null ⇒ String
Read pointer’s contents as a string.
Same as:
ptr.read_string # with no len
81 82 83 |
# File 'lib/ffi/pointer.rb', line 81 def read_string_to_null get_string(0) end |