org.yecht

Class Pointer

public class Pointer extends Object

Author: Ola Bini

Field Summary
byte[]buffer
intstart
Method Summary
static Pointercreate(byte[] buf, int start)
static Pointercreate(String buf)
static Pointerempty()
voidmemcpy(byte[] toBuffer, int toIndex, int len)
voidmemcpy(Pointer to, int len)
static PointernullPointer()
PointerwithStart(int start)

Field Detail

buffer

public byte[] buffer

start

public int start

Method Detail

create

public static Pointer create(byte[] buf, int start)

create

public static Pointer create(String buf)

empty

public static Pointer empty()

memcpy

public void memcpy(byte[] toBuffer, int toIndex, int len)

memcpy

public void memcpy(Pointer to, int len)

nullPointer

public static Pointer nullPointer()

withStart

public Pointer withStart(int start)