public class ByteBufferListDataInput extends Object implements MarkableDataInput
| Constructor and Description |
|---|
ByteBufferListDataInput(List<ByteBuffer> underlying) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
length() |
void |
mark(int readAhead) |
int |
position() |
void |
position(int position) |
int |
read(byte[] b) |
AMQShortString |
readAMQShortString() |
QpidByteBuffer |
readAsByteBuffer(int len) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
String |
readLine() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
void |
reset() |
long |
skip(long i) |
int |
skipBytes(int n) |
public ByteBufferListDataInput(List<ByteBuffer> underlying)
public void readFully(byte[] b,
int off,
int len)
public QpidByteBuffer readAsByteBuffer(int len)
readAsByteBuffer in interface MarkableDataInputpublic boolean readBoolean()
readBoolean in interface DataInputpublic int readUnsignedByte()
readUnsignedByte in interface DataInputpublic int readUnsignedShort()
readUnsignedShort in interface DataInputpublic double readDouble()
readDouble in interface DataInputpublic AMQShortString readAMQShortString()
readAMQShortString in interface MarkableDataInputpublic int available()
available in interface MarkableDataInputpublic long skip(long i)
skip in interface MarkableDataInputpublic int read(byte[] b)
read in interface MarkableDataInputpublic int position()
public void position(int position)
public int length()
public void mark(int readAhead)
mark in interface MarkableDataInputpublic void reset()
reset in interface MarkableDataInputCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.