public class UnsafeHeapByteBufferWriter extends ByteBufferWriter
mBuf
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getByteBuffer() |
void |
put(Byte b)
Writes the given byte into this buffer at the current position, and then increments the
position.
|
void |
put(byte[] src,
int offset,
int length) |
void |
putChar(char value) |
void |
putDouble(double value) |
void |
putFloat(float value) |
void |
putInt(int value) |
void |
putLong(long value) |
void |
putShort(short value) |
getByteBufferWriter, order, put
public void put(Byte b)
ByteBufferWriter
put
in class ByteBufferWriter
b
- The byte to be writtenpublic void put(byte[] src, int offset, int length)
put
in class ByteBufferWriter
public void putChar(char value)
putChar
in class ByteBufferWriter
public void putDouble(double value)
putDouble
in class ByteBufferWriter
public void putFloat(float value)
putFloat
in class ByteBufferWriter
public void putInt(int value)
putInt
in class ByteBufferWriter
public void putLong(long value)
putLong
in class ByteBufferWriter
public void putShort(short value)
putShort
in class ByteBufferWriter
public ByteBuffer getByteBuffer()
getByteBuffer
in class ByteBufferWriter
Copyright © 2013. All rights reserved.