public class Buffer
extends java.lang.Object
Constructor and Description |
---|
Buffer() |
Buffer(byte[] buffer) |
Buffer(int size) |
Modifier and Type | Method and Description |
---|---|
int |
getByte() |
void |
getByte(byte[] foo) |
int |
getByte(int len) |
int |
getInt() |
int |
getLength() |
long |
getLong() |
byte[] |
getMPInt() |
byte[] |
getMPIntBits() |
int |
getOffSet() |
byte[] |
getString() |
long |
getUInt() |
void |
putByte(byte foo) |
void |
putByte(byte[] foo) |
void |
putByte(byte[] foo,
int begin,
int length) |
void |
putInt(int val) |
void |
putLong(long val) |
void |
putMPInt(byte[] foo) |
void |
putString(byte[] foo) |
void |
putString(byte[] foo,
int begin,
int length) |
void |
reset() |
void |
setOffSet(int s) |
void |
shift() |
public Buffer(int size)
public Buffer(byte[] buffer)
public Buffer()
public void putByte(byte foo)
public void putByte(byte[] foo)
public void putByte(byte[] foo, int begin, int length)
public void putString(byte[] foo)
public void putString(byte[] foo, int begin, int length)
public void putInt(int val)
public void putLong(long val)
public void putMPInt(byte[] foo)
public int getLength()
public int getOffSet()
public void setOffSet(int s)
public long getLong()
public int getInt()
public long getUInt()
public int getByte()
public void getByte(byte[] foo)
public int getByte(int len)
public byte[] getMPInt()
public byte[] getMPIntBits()
public byte[] getString()
public void reset()
public void shift()