|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBinaryReadable
IBinaryReadable is a readable stream.
IBinaryReadable throws EOFException if end of stream is reached.
ByteBufferReadable,
InputStreamReadable,
ByteBufferArrayReadable| Method Summary | |
|---|---|
byte |
get()
get. |
void |
get(byte[] dst)
get. |
void |
get(byte[] dst,
int offset,
int length)
get. |
void |
get(ByteBuffer buf)
Get buf fully |
void |
get(ByteBuffer buf,
int length)
Get fully length bytes |
double |
getDouble()
getDouble. |
float |
getFloat()
getFloat. |
int |
getInt()
getInt. |
long |
getLong()
getLong. |
short |
getShort()
getShort. |
long |
limit()
limit. |
ByteOrder |
order()
order. |
void |
order(ByteOrder order)
order. |
long |
position()
position. |
| Method Detail |
|---|
byte get()
throws IOException
get.
IOException - if any.
void get(byte[] dst,
int offset,
int length)
throws IOException
get.
dst - an array of byte.offset - a int.length - a int.
IOException - if any.
void get(byte[] dst)
throws IOException
get.
dst - an array of byte.
IOException - if any.
void get(ByteBuffer buf)
throws IOException
buf - a ByteBuffer object.
IOException - if any.
void get(ByteBuffer buf,
int length)
throws IOException
buf - a ByteBuffer object.length - a int.
IOException - if any.
short getShort()
throws IOException
getShort.
IOException - if any.
int getInt()
throws IOException
getInt.
IOException - if any.
long getLong()
throws IOException
getLong.
IOException - if any.
float getFloat()
throws IOException
getFloat.
IOException - if any.
double getDouble()
throws IOException
getDouble.
IOException - if any.
long limit()
throws IOException
limit.
IOException - if any.ByteOrder order()
order.
ByteOrder object.void order(ByteOrder order)
order.
order - a ByteOrder object.
long position()
throws IOException
position.
IOException - if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||