Class
FFI::Pointer
In:
lib/ffi/pointer.rb
Parent:
Object
Methods
read_array_of_type
read_string
read_string_length
read_string_to_null
size
write_array_of_type
write_string
write_string_length
Constants
SIZE
=
Platform::ADDRESS_SIZE / 8
Public Class methods
size
()
Return the
size
of a pointer on the current platform, in bytes
Public Instance methods
read_array_of_type
(type, reader, length)
read_string
(len=nil)
read_string_length
(len)
read_string_to_null
()
write_array_of_type
(type, writer, ary)
write_string
(str, len=nil)
write_string_length
(str, len)
[Validate]