public class Sizeof extends Object
Modifier and Type | Field and Description |
---|---|
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
|
public static final int BYTE
public static final int CHAR
public static final int SHORT
public static final int INT
public static final int FLOAT
public static final int LONG
public static final int DOUBLE
public static final int POINTER
Copyright © 2020. All rights reserved.