jnr.ffi
Class Type
java.lang.Object
jnr.ffi.Type
- Direct Known Subclasses:
- BadType, StructLayout
public abstract class Type
- extends Object
|
Constructor Summary |
Type()
|
|
Method Summary |
abstract int |
alignment()
The native alignment of this type, in bytes |
abstract NativeType |
getNativeType()
The native type of this type |
abstract int |
size()
The size in bytes of this type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Type
public Type()
size
public abstract int size()
- The size in bytes of this type.
- Returns:
- An integer
alignment
public abstract int alignment()
- The native alignment of this type, in bytes
- Returns:
- An integer
getNativeType
public abstract NativeType getNativeType()
- The native type of this type
- Returns:
- the native type of this type
Copyright © 2012. All Rights Reserved.