public class ByteBuffer
extends org.bridj.StructObject
| Constructor and Description |
|---|
ByteBuffer() |
ByteBuffer(org.bridj.Pointer pointer) |
| Modifier and Type | Method and Description |
|---|---|
org.bridj.Pointer<java.lang.Byte> |
array()
byte array
C type : l_uint8* |
ByteBuffer |
array(org.bridj.Pointer<java.lang.Byte> array)
byte array
C type : l_uint8* |
int |
n()
number of bytes read into to the array
C type : l_int32 |
ByteBuffer |
n(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 |
ByteBuffer |
nalloc(int nalloc)
size of allocated byte array
C type : l_int32 |
int |
nwritten()
number of bytes written from the array
C type : l_int32 |
ByteBuffer |
nwritten(int nwritten)
number of bytes written from the array
C type : l_int32 |
public ByteBuffer()
public ByteBuffer(org.bridj.Pointer pointer)
public int nalloc()
public ByteBuffer nalloc(int nalloc)
public int n()
public ByteBuffer n(int n)
public int nwritten()
public ByteBuffer nwritten(int nwritten)
public org.bridj.Pointer<java.lang.Byte> array()
public ByteBuffer array(org.bridj.Pointer<java.lang.Byte> array)