|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ximpleware.UniByteBuffer
public class UniByteBuffer
A simple wrapper around monolithic byte array implementing IByteBuffer interface. Creation date: (11/25/03 5:05:57 PM)
| Constructor Summary | |
|---|---|
UniByteBuffer(byte[] b)
UniByteBuffer constructor comment. |
|
| Method Summary | |
|---|---|
byte |
byteAt(int index)
Get the byte at the index. |
byte[] |
getBytes()
Return the byte array containing the original XML document |
byte[] |
getBytes(int offset,
int len)
Return the token in its original encoding format. |
int |
length()
Get total size in terms of # of bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniByteBuffer(byte[] b)
IllegalArguement - when b is a null pointer| Method Detail |
|---|
public final byte byteAt(int index)
byteAt in interface IByteBufferindex - int
public final byte[] getBytes(int offset,
int len)
getBytes in interface IByteBufferoffset - intlen - int
public int length()
length in interface IByteBufferpublic byte[] getBytes()
getBytes in interface IByteBuffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||