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, wait
ensureRemaining
public CompositeWritableBuffer(WritableBuffer first, WritableBuffer second)
public void put(byte b)
put
in interface WritableBuffer
public void putFloat(float f)
putFloat
in interface WritableBuffer
public void putDouble(double d)
putDouble
in interface WritableBuffer
public void putShort(short s)
putShort
in interface WritableBuffer
public void putInt(int i)
putInt
in interface WritableBuffer
public void putLong(long l)
putLong
in interface WritableBuffer
public boolean hasRemaining()
hasRemaining
in interface WritableBuffer
public int remaining()
remaining
in interface WritableBuffer
public int position()
position
in interface WritableBuffer
public int limit()
limit
in interface WritableBuffer
public void position(int position)
position
in interface WritableBuffer
public void put(byte[] src, int offset, int length)
put
in interface WritableBuffer
public void put(java.nio.ByteBuffer payload)
put
in interface WritableBuffer
public java.lang.String toString()
toString
in class java.lang.Object
public void put(ReadableBuffer payload)
put
in interface WritableBuffer
public void put(java.lang.String value)
put
in interface WritableBuffer