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 DataInput
public int readUnsignedByte()
readUnsignedByte
in interface DataInput
public int readUnsignedShort()
readUnsignedShort
in interface DataInput
public double readDouble()
readDouble
in interface DataInput
public AMQShortString readAMQShortString()
readAMQShortString
in interface MarkableDataInput
public int available()
available
in interface MarkableDataInput
public long skip(long i)
skip
in interface MarkableDataInput
public int read(byte[] b)
read
in interface MarkableDataInput
public QpidByteBuffer readAsByteBuffer(int len)
readAsByteBuffer
in interface MarkableDataInput
public int position()
public void position(int position)
public int length()
public void mark(int readAhead)
mark
in interface MarkableDataInput
public void reset()
reset
in interface MarkableDataInput
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.