com.jagacy.util
Class ByteBuffer

java.lang.Object
  extended bycom.jagacy.util.ByteBuffer

public class ByteBuffer
extends java.lang.Object

TODO Description of class

Version:
1.0
Author:
Robert M. Preston

Constructor Summary
ByteBuffer(int increment)
           
 
Method Summary
 void addStart(int offset)
           
 void append(byte b)
           
 void append(byte[] b)
           
 void appendEscape(byte b)
           
 byte byteAt(int i)
           
 byte get()
           
 byte[] getBytes()
           
 int getLength()
           
 int getSize()
           
 void reset()
           
 void setByteAt(int i, byte b)
           
 void subtractLength(int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteBuffer

public ByteBuffer(int increment)
Method Detail

append

public void append(byte b)

appendEscape

public void appendEscape(byte b)

append

public void append(byte[] b)

getLength

public int getLength()

getSize

public int getSize()

reset

public void reset()

addStart

public void addStart(int offset)
              throws JagacyException
Throws:
JagacyException

subtractLength

public void subtractLength(int offset)
                    throws JagacyException
Throws:
JagacyException

byteAt

public byte byteAt(int i)
            throws JagacyException
Throws:
JagacyException

setByteAt

public void setByteAt(int i,
                      byte b)
               throws JagacyException
Throws:
JagacyException

get

public byte get()
         throws JagacyException
Throws:
JagacyException

getBytes

public byte[] getBytes()