Package jnr.ffi

Class Struct.Pointer

Enclosing class:
Struct

public class Struct.Pointer extends Struct.PointerField
Represents a native memory address.
  • Constructor Details

    • Pointer

      public Pointer()
      Creates a new Address field.
    • Pointer

      public Pointer(Struct.Offset offset)
  • Method Details

    • get

      public final Pointer get()
      Gets the Pointer value from the native memory.
      Returns:
      a Pointer.
    • intValue

      public final int intValue()
      Returns an integer representation of this Pointer.
      Overrides:
      intValue in class Struct.PointerField
      Returns:
      an integer value for this Pointer.
    • longValue

      public final long longValue()
      Returns an long representation of this Pointer.
      Overrides:
      longValue in class Struct.PointerField
      Returns:
      an long value for this Pointer.
    • toString

      public final String toString()
      Returns a string representation of this Pointer.
      Overrides:
      toString in class Struct.PointerField
      Returns:
      a string representation of this Pointer.