Package com.sun.jna

Class NativeLong

All Implemented Interfaces:
NativeMapped, Serializable
Direct Known Subclasses:
CoreFoundation.CFIndex, CoreFoundation.CFTypeID, WinNT.HRESULT, X11.VisualID, X11.XID

public class NativeLong extends IntegerType
Represents the long C data type, which may be 32 or 64 bits on *nix-based systems.
Author:
[email protected]
See Also:
  • Field Details

    • SIZE

      public static final int SIZE
      Size of a native long, in bytes.
  • Constructor Details

    • NativeLong

      public NativeLong()
      Create a zero-valued NativeLong.
    • NativeLong

      public NativeLong(long value)
      Create a NativeLong with the given value.
    • NativeLong

      public NativeLong(long value, boolean unsigned)
      Create a NativeLong with the given value, optionally unsigned.