|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectostore.util.InputBufferImpl
bamboo.lss.NioInputBuffer
public class NioInputBuffer
Wraps a java.nio.ByteBuffer in the ostore.util.InputBuffer interface.
| Field Summary | |
|---|---|
ByteBuffer |
bb
|
| Constructor Summary | |
|---|---|
NioInputBuffer(ByteBuffer bb)
|
|
| Method Summary | |
|---|---|
byte |
nextByte()
|
void |
nextBytes(byte[] output,
int offset,
int length)
|
void |
nextBytes(ostore.util.OutputBuffer buffer)
|
int |
nextInt()
|
long |
nextLong()
|
short |
nextShort()
|
void |
skipBytes(int length)
|
ostore.util.InputBuffer |
subBuffer(int length)
|
| Methods inherited from class ostore.util.InputBufferImpl |
|---|
clone, nextBigInteger, nextBigInteger, nextBoolean, nextBoolean, nextDouble, nextDouble, nextInt, nextLong, nextObject, nextObject, nextShort, nextString, nextString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ByteBuffer bb
| Constructor Detail |
|---|
public NioInputBuffer(ByteBuffer bb)
| Method Detail |
|---|
public int nextInt()
nextInt in interface ostore.util.InputBuffernextInt in class ostore.util.InputBufferImplpublic short nextShort()
nextShort in interface ostore.util.InputBuffernextShort in class ostore.util.InputBufferImplpublic long nextLong()
nextLong in interface ostore.util.InputBuffernextLong in class ostore.util.InputBufferImplpublic byte nextByte()
public void nextBytes(byte[] output,
int offset,
int length)
public void nextBytes(ostore.util.OutputBuffer buffer)
public void skipBytes(int length)
public ostore.util.InputBuffer subBuffer(int length)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||