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