Class FFI::Pointer
In: lib/ffi/pointer.rb
lib/ffi/pointer.rb
Parent: Object

Methods

Constants

SIZE = Platform::ADDRESS_SIZE / 8
SIZE = Platform::ADDRESS_SIZE / 8

Public Class methods

Return the size of a pointer on the current platform, in bytes

Return the size of a pointer on the current platform, in bytes

Public Instance methods

Read a C int from the memory pointed to.

Read a C int from the memory pointed to.

Read a C long from the memory pointed to.

Read a C long from the memory pointed to.

Read a C long long from the memory pointed to.

Read a C long long from the memory pointed to.

Write obj as a C int at the memory pointed to.

Write obj as a C int at the memory pointed to.

Write obj as a C long at the memory pointed to.

Write obj as a C long at the memory pointed to.

Write obj as a C long long at the memory pointed to.

Write obj as a C long long at the memory pointed to.

[Validate]