|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.utils.bytebuffer.ByteBufferArrayReadable
public class ByteBufferArrayReadable
ByteBufferArrayReadable class.
| Constructor Summary | |
|---|---|
ByteBufferArrayReadable(ByteBuffer[] bufs)
Constructor for ByteBufferArrayReadable. |
|
ByteBufferArrayReadable(ByteQueue q)
Constructor for 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteBufferArrayReadable(ByteBuffer[] bufs)
Constructor for ByteBufferArrayReadable.
bufs - an array of ByteBuffer objects.public ByteBufferArrayReadable(ByteQueue q)
Constructor for ByteBufferArrayReadable.
q - a ByteQueue object.| Method Detail |
|---|
public ByteOrder order()
order.
order in interface IBinaryReadableByteOrder object.public void order(ByteOrder order)
order.
order in interface IBinaryReadableorder - a ByteOrder object.
public byte get()
throws IOException
get.
get in interface IBinaryReadableIOException - if any.
public void get(byte[] dst,
int offset,
int length)
throws IOException
get.
get in interface IBinaryReadabledst - an array of byte.offset - a int.length - a int.
IOException - if any.
public void get(byte[] dst)
throws IOException
get.
get in interface IBinaryReadabledst - an array of byte.
IOException - if any.
public void get(ByteBuffer buf)
throws IOException
get in interface IBinaryReadablebuf - a ByteBuffer object.
IOException - if any.
public void get(ByteBuffer buf,
int length)
throws IOException
get in interface IBinaryReadablebuf - a ByteBuffer object.length - a int.
IOException - if any.
public double getDouble()
throws IOException
getDouble.
getDouble in interface IBinaryReadableIOException - if any.
public float getFloat()
throws IOException
getFloat.
getFloat in interface IBinaryReadableIOException - if any.
public int getInt()
throws IOException
getInt.
getInt in interface IBinaryReadableIOException - if any.
public long getLong()
throws IOException
getLong.
getLong in interface IBinaryReadableIOException - if any.
public short getShort()
throws IOException
getShort.
getShort in interface IBinaryReadableIOException - if any.public long limit()
limit.
limit in interface IBinaryReadablepublic long position()
position.
position in interface IBinaryReadable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||