public class ByteArrayDataInput extends Object implements MarkableDataInput
| Constructor and Description |
|---|
ByteArrayDataInput(byte[] data) |
ByteArrayDataInput(byte[] data,
int offset,
int length) |
| 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 ByteArrayDataInput(byte[] data)
public ByteArrayDataInput(byte[] data,
int offset,
int length)
public void readFully(byte[] b,
int off,
int len)
public 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 QpidByteBuffer readAsByteBuffer(int len)
readAsByteBuffer 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.