jcuda
Class Sizeof

java.lang.Object
  extended by jcuda.Sizeof

public class Sizeof
extends java.lang.Object

Constants for sizes of primitives


Field Summary
static int BYTE
          Size of a byte, in bytes
static int CHAR
          Size of a char, in bytes
static int DOUBLE
          Size of a double, in bytes
static int FLOAT
          Size of a float, in bytes
static int INT
          Size of an int, in bytes
static int LONG
          Size of a long, in bytes
static int POINTER
          Size of a (native) pointer, in bytes.
static int SHORT
          Size of a short, in bytes
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYTE

public static final int BYTE
Size of a byte, in bytes

See Also:
Constant Field Values

CHAR

public static final int CHAR
Size of a char, in bytes

See Also:
Constant Field Values

SHORT

public static final int SHORT
Size of a short, in bytes

See Also:
Constant Field Values

INT

public static final int INT
Size of an int, in bytes

See Also:
Constant Field Values

FLOAT

public static final int FLOAT
Size of a float, in bytes

See Also:
Constant Field Values

LONG

public static final int LONG
Size of a long, in bytes

See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
Size of a double, in bytes

See Also:
Constant Field Values

POINTER

public static final int POINTER
Size of a (native) pointer, in bytes.