public class CompositeWritableBuffer extends java.lang.Object implements WritableBuffer
WritableBuffer.ByteBufferWrapper| Constructor and Description |
|---|
CompositeWritableBuffer(WritableBuffer first,
WritableBuffer second) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasRemaining() |
int |
limit() |
int |
position() |
void |
position(int position) |
void |
put(byte b) |
void |
put(byte[] src,
int offset,
int length) |
void |
put(java.nio.ByteBuffer payload) |
void |
put(ReadableBuffer payload) |
void |
put(java.lang.String value) |
void |
putDouble(double d) |
void |
putFloat(float f) |
void |
putInt(int i) |
void |
putLong(long l) |
void |
putShort(short s) |
int |
remaining() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitensureRemainingpublic CompositeWritableBuffer(WritableBuffer first, WritableBuffer second)
public void put(byte b)
put in interface WritableBufferpublic void putFloat(float f)
putFloat in interface WritableBufferpublic void putDouble(double d)
putDouble in interface WritableBufferpublic void putShort(short s)
putShort in interface WritableBufferpublic void putInt(int i)
putInt in interface WritableBufferpublic void putLong(long l)
putLong in interface WritableBufferpublic boolean hasRemaining()
hasRemaining in interface WritableBufferpublic int remaining()
remaining in interface WritableBufferpublic int position()
position in interface WritableBufferpublic int limit()
limit in interface WritableBufferpublic void position(int position)
position in interface WritableBufferpublic void put(byte[] src,
int offset,
int length)
put in interface WritableBufferpublic void put(java.nio.ByteBuffer payload)
put in interface WritableBufferpublic java.lang.String toString()
toString in class java.lang.Objectpublic void put(ReadableBuffer payload)
put in interface WritableBufferpublic void put(java.lang.String value)
put in interface WritableBuffer