org.jruby.ext.posix
public class HeapStruct extends java.lang.Object implements com.sun.jna.NativeMapped
Modifier and Type | Class and Description |
---|---|
protected class |
HeapStruct.Byte |
protected class |
HeapStruct.Field |
protected class |
HeapStruct.Int16 |
protected class |
HeapStruct.Int32 |
protected class |
HeapStruct.Int64 |
protected class |
HeapStruct.Int8 |
protected class |
HeapStruct.Integer |
protected class |
HeapStruct.Long |
protected class |
HeapStruct.LongLong |
protected class |
HeapStruct.Short |
protected class |
HeapStruct.UInt16 |
protected class |
HeapStruct.UInt32 |
protected class |
HeapStruct.UInt8 |
protected class |
HeapStruct.ULong |
Constructor and Description |
---|
HeapStruct() |
Modifier and Type | Method and Description |
---|---|
protected int |
addField(int size,
int align) |
java.lang.Object |
fromNative(java.lang.Object arg0,
com.sun.jna.FromNativeContext arg1) |
protected java.nio.ByteBuffer |
getByteBuffer() |
int |
getStructSize() |
java.lang.Class |
nativeType() |
java.lang.Object |
toNative() |
public java.lang.Object fromNative(java.lang.Object arg0, com.sun.jna.FromNativeContext arg1)
fromNative
in interface com.sun.jna.NativeMapped
public java.lang.Object toNative()
toNative
in interface com.sun.jna.NativeMapped
public java.lang.Class nativeType()
nativeType
in interface com.sun.jna.NativeMapped
protected final java.nio.ByteBuffer getByteBuffer()
public final int getStructSize()
protected final int addField(int size, int align)