Uses of Class
org.apache.hadoop.hbase.nio.MultiByteBuff
Packages that use MultiByteBuff
-
Uses of MultiByteBuff in org.apache.hadoop.hbase.nio
Methods in org.apache.hadoop.hbase.nio that return MultiByteBuffModifier and TypeMethodDescriptionMultiByteBuff.duplicate()
Returns an MBB which is a duplicate version of this MBB.MultiByteBuff.limit
(int limit) Marks the limit of this MBB.MultiByteBuff.mark()
Marks the current position of the MBBMultiByteBuff.moveBack
(int length) Jumps back the current position of this MBB by specified length.MultiByteBuff.position
(int position) Sets this MBB's position to the given value.MultiByteBuff.put
(byte b) Writes a byte to this MBB at the current position and increments the positionfinal MultiByteBuff
MultiByteBuff.put
(byte[] src) Copies from the given byte[] to this MBBMultiByteBuff.put
(byte[] src, int offset, int length) Copies from the given byte[] to this MBB.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.Copies from a src BB to this MBB.MultiByteBuff.putInt
(int val) Writes an int to this MBB at its current position.MultiByteBuff.putLong
(long val) Writes a long to this MBB at its current position.MultiByteBuff.reset()
Similar toByteBuffer
.reset(), ensures that this MBB is reset back to last marked position.MultiByteBuff.retain()
MultiByteBuff.rewind()
Rewinds this MBB and the position is set to 0MultiByteBuff.skip
(int length) Jumps the current position of this MBB by specified length.MultiByteBuff.slice()
Returns an MBB which is a sliced version of this MBB.