org.yecht
Class Pointer

java.lang.Object
  extended by org.yecht.Pointer

public class Pointer
extends Object

Author:
Ola Bini

Field Summary
 byte[] buffer
           
 int start
           
 
Method Summary
static Pointer create(byte[] buf, int start)
           
static Pointer create(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

public byte[] buffer

start

public int start
Method Detail

empty

public static Pointer empty()

nullPointer

public static Pointer nullPointer()

create

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

create

public static Pointer create(String buf)

memcpy

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

memcpy

public void memcpy(Pointer to,
                   int len)

withStart

public Pointer withStart(int start)


Copyright © 2013. All Rights Reserved.