| java.lang.Object uk.org.ponder.byteutil.ByteWrap uk.org.ponder.byteutil.AirByteWrap
AirByteWrap | public class AirByteWrap extends ByteWrap (Code) | | A ByteWrap class that allows a little extra "air". Its sole action is to override the
ensureCapacity method so it reserves a specified amount of extra space
whenever it is called upon, in addition to the amount explicitly requested.
The amount of extra space to be reserved is set by a call to the setAir method.
|
Method Summary | |
public void | ensureCapacity(int capacity) This method is overridden from ByteWrap to reserve extra space
as specified to setAir . | public void | setAir(int air) Sets the amount of extra space to be reserved by a call to ensureCapacity . |
ensureCapacity | public void ensureCapacity(int capacity)(Code) | | This method is overridden from ByteWrap to reserve extra space
as specified to setAir .
Parameters: capacity - The capacity explicitly requested. |
setAir | public void setAir(int air)(Code) | | Sets the amount of extra space to be reserved by a call to ensureCapacity .
Parameters: air - The amount of extra space to be reserved. |
Methods inherited from uk.org.ponder.byteutil.ByteWrap | public void ensureCapacity(int requiredsize)(Code)(Java Doc) public boolean equals(Object othero)(Code)(Java Doc) public ByteWrap imbue(ByteWrap other, int index, int length)(Code)(Java Doc) final public static String intToHex(int tohex)(Code)(Java Doc) final public static String intToHex(int tohex, int bytes)(Code)(Java Doc) public int read_at1(int pos)(Code)(Java Doc) public int read_at2(int pos)(Code)(Java Doc) public int read_at3(int pos)(Code)(Java Doc) public int read_at4(int pos)(Code)(Java Doc) public long read_at8(int pos)(Code)(Java Doc) public void shuffle(int fromposition, int amount)(Code)(Java Doc) public int size()(Code)(Java Doc) public static char toHex(int nibble)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void write_at(int pos, ByteWrap other)(Code)(Java Doc) public void write_at(int pos, ByteWrap other, int index, int length)(Code)(Java Doc) public void write_at1(int pos, int data)(Code)(Java Doc) public void write_at2(int pos, int data)(Code)(Java Doc) public void write_at3(int pos, int data)(Code)(Java Doc) public void write_at4(int pos, int data)(Code)(Java Doc) public void write_at8(int pos, long data)(Code)(Java Doc)
|
|
|