public static class WritableBuffer.ByteBufferWrapper extends java.lang.Object implements WritableBuffer
WritableBuffer.ByteBufferWrapper| Constructor and Description |
|---|
WritableBuffer.ByteBufferWrapper(java.nio.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(java.nio.ByteBuffer src) |
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() |
public WritableBuffer.ByteBufferWrapper(java.nio.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(java.nio.ByteBuffer src)
put in interface WritableBufferpublic int limit()
limit in interface WritableBufferpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 FuseSource, Corp.. All Rights Reserved.