|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mongodb.io.ByteBufferHolder
public class ByteBufferHolder
| Field Summary | |
|---|---|
(package private) List<ByteBuffer> |
_buffers
|
(package private) static int |
_bufSize
|
(package private) int |
_max
|
(package private) int |
_pos
|
| Constructor Summary | |
|---|---|
ByteBufferHolder()
|
|
ByteBufferHolder(int max)
|
|
| Method Summary | |
|---|---|
int |
capacity()
|
byte |
get(int i)
|
void |
get(int pos,
byte[] b)
|
int |
position()
|
void |
position(int p)
|
void |
put(ByteBuffer in)
|
void |
put(int i,
byte val)
|
int |
remaining()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
List<ByteBuffer> _buffers
int _pos
final int _max
static final int _bufSize
| Constructor Detail |
|---|
public ByteBufferHolder()
public ByteBufferHolder(int max)
| Method Detail |
|---|
public byte get(int i)
public void get(int pos,
byte[] b)
public void put(int i,
byte val)
public int position()
public void position(int p)
public int remaining()
public void put(ByteBuffer in)
public int capacity()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||