public class Pointer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
byte[] |
buffer |
private static byte[] |
emptyBuffer |
int |
start |
Modifier | Constructor and Description |
---|---|
private |
Pointer() |
Modifier and Type | Method and Description |
---|---|
static Pointer |
create(byte[] buf,
int start) |
static Pointer |
create(java.lang.String buf) |
static Pointer |
empty() |
void |
memcpy(byte[] toBuffer,
int toIndex,
int len) |
void |
memcpy(Pointer to,
int len) |
static Pointer |
nullPointer() |
Pointer |
withStart(int start) |
public byte[] buffer
public int start
private static final byte[] emptyBuffer
public static Pointer empty()
public static Pointer nullPointer()
public static Pointer create(byte[] buf, int start)
public static Pointer create(java.lang.String buf)
public void memcpy(byte[] toBuffer, int toIndex, int len)
public void memcpy(Pointer to, int len)
public Pointer withStart(int start)