org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.duplicate()
Returns an MBB which is a duplicate version of this MBB.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.limit(int limit)
Marks the limit of this MBB.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.mark()
Marks the current position of the MBB
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.moveBack(int length)
Jumps back the current position of this MBB by specified length.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.position(int position)
Sets this MBB's position to the given value.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.put(byte b)
Writes a byte to this MBB at the current position and increments the position
final org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.put(byte[] src)
Copies from the given byte[] to this MBB
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.put(byte[] src,
int offset,
int length)
Copies from the given byte[] to this MBB.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.put(int index,
byte b)
Writes a byte to this MBB at the given index and won't affect the position of any of the
buffers.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.put(int destOffset,
org.apache.hadoop.hbase.nio.ByteBuff src,
int srcOffset,
int length)
Copies from a src BB to this MBB.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.putInt(int val)
Writes an int to this MBB at its current position.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.putLong(long val)
Writes a long to this MBB at its current position.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.reset()
Similar to
ByteBuffer
.reset(), ensures that this MBB is reset back to last marked
position.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.retain()
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.rewind()
Rewinds this MBB and the position is set to 0
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.skip(int length)
Jumps the current position of this MBB by specified length.
org.apache.hadoop.hbase.nio.MultiByteBuff
MultiByteBuff.slice()
Returns an MBB which is a sliced version of this MBB.