Package | Description |
---|---|
org.apache.hadoop.hbase.nio |
Modifier and Type | Method and Description |
---|---|
MultiByteBuff |
MultiByteBuff.duplicate()
Returns an MBB which is a duplicate version of this MBB.
|
MultiByteBuff |
MultiByteBuff.limit(int limit)
Marks the limit of this MBB.
|
MultiByteBuff |
MultiByteBuff.mark()
Marks the current position of the MBB
|
MultiByteBuff |
MultiByteBuff.moveBack(int length)
Jumps back the current position of this MBB by specified length.
|
MultiByteBuff |
MultiByteBuff.position(int position)
Sets this MBB's position to the given value.
|
MultiByteBuff |
MultiByteBuff.put(byte b)
Writes a byte to this MBB at the current position and increments the position n * @return this
object
|
MultiByteBuff |
MultiByteBuff.put(byte[] src)
Copies from the given byte[] to this MBB
|
MultiByteBuff |
MultiByteBuff.put(byte[] src,
int offset,
int length)
Copies from the given byte[] to this MBB.
|
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.
|
MultiByteBuff |
MultiByteBuff.put(int destOffset,
ByteBuff src,
int srcOffset,
int length)
Copies from a src BB to this MBB.
|
MultiByteBuff |
MultiByteBuff.putInt(int val)
Writes an int to this MBB at its current position.
|
MultiByteBuff |
MultiByteBuff.putLong(long val)
Writes a long to this MBB at its current position.
|
MultiByteBuff |
MultiByteBuff.reset()
Similar to
ByteBuffer .reset(), ensures that this MBB is reset back to last marked
position. |
MultiByteBuff |
MultiByteBuff.retain() |
MultiByteBuff |
MultiByteBuff.rewind()
Rewinds this MBB and the position is set to 0
|
MultiByteBuff |
MultiByteBuff.skip(int length)
Jumps the current position of this MBB by specified length.
|
MultiByteBuff |
MultiByteBuff.slice()
Returns an MBB which is a sliced version of this MBB.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.