com.jagacy.util
Class ByteBuffer
java.lang.Object
com.jagacy.util.ByteBuffer
- public class ByteBuffer
- extends java.lang.Object
TODO Description of class
- Version:
- 1.0
- Author:
- Robert M. Preston
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBuffer
public ByteBuffer(int increment)
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()