public class L_ByteBuffer
extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
L_ByteBuffer.ByReference |
static class |
L_ByteBuffer.ByValue |
| Modifier and Type | Field and Description |
|---|---|
com.sun.jna.Pointer |
array
byte array
C type : l_uint8* |
int |
n
number of bytes read into to the array
C type : l_int32 |
int |
nalloc
size of allocated byte array
C type : l_int32 |
int |
nwritten
number of bytes written from the array
C type : l_int32 |
| Constructor and Description |
|---|
L_ByteBuffer() |
L_ByteBuffer(int nalloc,
int n,
int nwritten,
com.sun.jna.Pointer array) |
L_ByteBuffer(com.sun.jna.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<?> |
getFieldOrder() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic int nalloc
public int n
public int nwritten
public com.sun.jna.Pointer array
public L_ByteBuffer()
public L_ByteBuffer(int nalloc,
int n,
int nwritten,
com.sun.jna.Pointer array)
nalloc - size of allocated byte arrayn - number of bytes read into to the arraynwritten - number of bytes written from the arrayarray - byte arraypublic L_ByteBuffer(com.sun.jna.Pointer peer)