public static class WritableBuffer.ByteBufferWrapper extends Object implements WritableBuffer
WritableBuffer.ByteBufferWrapper| Constructor and Description |
|---|
ByteBufferWrapper(ByteBuffer buf) |
| 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(ByteBuffer src) |
void |
putDouble(double d) |
void |
putFloat(float f) |
void |
putInt(int i) |
void |
putLong(long l) |
void |
putShort(short s) |
int |
remaining() |
String |
toString() |
public ByteBufferWrapper(ByteBuffer buf)
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 put(byte[] src,
int offset,
int length)
put 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 void position(int position)
position in interface WritableBufferpublic void put(ByteBuffer src)
put in interface WritableBufferpublic int limit()
limit in interface WritableBufferCopyright © 2016 The Apache Software Foundation. All Rights Reserved.