Class SizeT

  • All Implemented Interfaces:
    com.sun.jna.NativeMapped, java.io.Serializable

    public class SizeT
    extends com.sun.jna.IntegerType
    The native size_t data type, which may be a 32 or 64 bit unsigned integer.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SizeT()
      Create a size_t with value 0
      SizeT​(long value)
      Create a size_t with the specified value.
    • Method Summary

      • Methods inherited from class com.sun.jna.IntegerType

        compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative, toString
      • Methods inherited from class java.lang.Number

        byteValue, shortValue
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SizeT

        public SizeT()
        Create a size_t with value 0
      • SizeT

        public SizeT​(long value)
        Create a size_t with the specified value. The value is truncated when size_t is a 32 bit integer.