| java.lang.Object it.stefanochizzolini.clown.bytes.Buffer
Buffer | final public class Buffer implements IBuffer(Code) | | Byte buffer.
version: 0.0.4 |
Method Summary | |
public void | append(byte data) | public void | append(byte[] data) | public void | append(byte[] data, int offset, int length) | public void | append(String data) | public void | append(IInputStream data) | public IBuffer | clone() | public void | decode(Filter filter) | public void | delete(int index, int length) | public byte[] | encode(Filter filter) | protected boolean | ensureCapacity(int additionalLength) Check whether the buffer capacity has sufficient room for adding data. | public int | getByte(int index) | public byte[] | getByteArray(int index, int length) | public ByteOrder | getByteOrder() | public int | getCapacity() | public long | getLength() | public long | getPosition() | public String | getString(int index, int length) | public void | insert(int index, byte[] data) | public void | insert(int index, byte[] data, int offset, int length) | public void | insert(int index, String data) | public void | insert(int index, IInputStream data) | public void | read(byte[] data) | public void | read(byte[] data, int offset, int length) | public byte | readByte() | public int | readInt() | public String | readLine() | public short | readShort() | public String | readString(int length) | public int | readUnsignedByte() | public int | readUnsignedShort() | public void | replace(int index, byte[] data) | public void | replace(int index, byte[] data, int offset, int length) | public void | replace(int index, String data) | public void | replace(int index, IInputStream data) | public void | seek(long position) | public void | setByteOrder(ByteOrder value) | public void | setLength(int value) | public void | setPosition(long value) | public void | skip(long offset) | public byte[] | toByteArray() | public void | writeTo(IOutputStream stream) |
Buffer | public Buffer(int capacity)(Code) | | |
Buffer | public Buffer(byte[] data)(Code) | | |
append | public void append(byte data)(Code) | | |
append | public void append(byte[] data)(Code) | | |
append | public void append(byte[] data, int offset, int length)(Code) | | |
delete | public void delete(int index, int length)(Code) | | |
ensureCapacity | protected boolean ensureCapacity(int additionalLength)(Code) | | Check whether the buffer capacity has sufficient room for adding data.
|
getByte | public int getByte(int index)(Code) | | |
getByteArray | public byte[] getByteArray(int index, int length)(Code) | | |
getCapacity | public int getCapacity()(Code) | | |
getLength | public long getLength()(Code) | | |
getPosition | public long getPosition()(Code) | | |
getString | public String getString(int index, int length)(Code) | | |
insert | public void insert(int index, byte[] data)(Code) | | |
insert | public void insert(int index, byte[] data, int offset, int length)(Code) | | |
read | public void read(byte[] data)(Code) | | |
read | public void read(byte[] data, int offset, int length)(Code) | | |
replace | public void replace(int index, byte[] data)(Code) | | |
replace | public void replace(int index, byte[] data, int offset, int length)(Code) | | |
seek | public void seek(long position)(Code) | | |
setLength | public void setLength(int value)(Code) | | |
setPosition | public void setPosition(long value)(Code) | | |
skip | public void skip(long offset)(Code) | | |
toByteArray | public byte[] toByteArray()(Code) | | |
|
|