public final class SizeOf extends Object
Modifier and Type | Method and Description |
---|---|
static int |
get(Class<? extends PointerBase> clazz)
Returns the size of the data structure pointed to by SystemJava pointer types.
|
static UnsignedWord |
unsigned(Class<? extends PointerBase> clazz)
Returns the
size cast to UnsignedWord . |
public static int get(Class<? extends PointerBase> clazz)
CStruct
, CPointerTo
, or RawStructure
.public static UnsignedWord unsigned(Class<? extends PointerBase> clazz)
size
cast to UnsignedWord
.