ByteBufferWrapper

Undocumented in source.

Constructors

this
this(ByteBuffer buf)
Undocumented in source.

Members

Functions

byteBuffer
ByteBuffer byteBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
ensureRemaining
void ensureRemaining(int remaining)
Undocumented in source. Be warned that the author may not have intended to support it.
hasRemaining
bool hasRemaining()
Undocumented in source. Be warned that the author may not have intended to support it.
limit
int limit()
Undocumented in source. Be warned that the author may not have intended to support it.
position
int position()
Undocumented in source. Be warned that the author may not have intended to support it.
position
void position(int position)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(byte b)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(byte[] src, int offset, int length)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(ByteBuffer src)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(ReadableBuffer src)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
putDouble
void putDouble(double d)
Undocumented in source. Be warned that the author may not have intended to support it.
putFloat
void putFloat(float f)
Undocumented in source. Be warned that the author may not have intended to support it.
putInt
void putInt(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
putLong
void putLong(long l)
Undocumented in source. Be warned that the author may not have intended to support it.
putShort
void putShort(short s)
Undocumented in source. Be warned that the author may not have intended to support it.
remaining
int remaining()
Undocumented in source. Be warned that the author may not have intended to support it.
toReadableBuffer
ReadableBuffer toReadableBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

allocate
ByteBufferWrapper allocate(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
wrap
ByteBufferWrapper wrap(ByteBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
wrap
ByteBufferWrapper wrap(byte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From WritableBuffer

put
void put(byte b)
Undocumented in source.
putFloat
void putFloat(float f)
Undocumented in source.
putDouble
void putDouble(double d)
Undocumented in source.
put
void put(byte[] src, int offset, int length)
Undocumented in source.
putShort
void putShort(short s)
Undocumented in source.
putInt
void putInt(int i)
Undocumented in source.
putLong
void putLong(long l)
Undocumented in source.
hasRemaining
bool hasRemaining()
Undocumented in source.
ensureRemaining
void ensureRemaining(int requiredRemaining)
Undocumented in source. Be warned that the author may not have intended to support it.
remaining
int remaining()
Undocumented in source.
position
int position()
Undocumented in source.
position
void position(int position)
Undocumented in source.
put
void put(ByteBuffer payload)
Undocumented in source.
put
void put(ReadableBuffer payload)
Undocumented in source.
put
void put(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
limit
int limit()
Undocumented in source.

Meta