|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.utils.vnc.InStream
public abstract class InStream
The Class InStream.
Field Summary | |
---|---|
static int |
maxStringLength
The max string length. |
Method Summary | |
---|---|
boolean |
bytesAvailable()
Bytes available. |
void |
check(int itemSize)
Check. |
int |
check(int itemSize,
int nItems)
Check. |
byte[] |
getbuf()
Gets the buf. |
int |
getend()
Gets the end. |
int |
getptr()
Gets the ptr. |
abstract int |
pos()
Pos. |
void |
readBytes(byte[] data,
int offset,
int length)
Read bytes. |
int |
readOpaque16()
Read opaque16. |
int |
readOpaque24A()
Read opaque24 a. |
int |
readOpaque24B()
Read opaque24 b. |
int |
readOpaque32()
Read opaque32. |
int |
readOpaque8()
Read opaque8. |
int |
readS16()
Read s16. |
int |
readS32()
Read s32. |
int |
readS8()
Read s8. |
java.lang.String |
readString()
Read string. |
int |
readU16()
Read u16. |
int |
readU32()
Read u32. |
int |
readU8()
Read u8. |
void |
setptr(int p)
Sets the ptr. |
void |
skip(int bytes)
Skip. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int maxStringLength
Method Detail |
---|
public boolean bytesAvailable()
public final void check(int itemSize) throws java.lang.Exception
itemSize
- the item size
java.lang.Exception
- the exceptionpublic final int check(int itemSize, int nItems) throws java.lang.Exception
itemSize
- the item sizenItems
- the n items
java.lang.Exception
- the exceptionpublic final byte[] getbuf()
public final int getend()
public final int getptr()
public abstract int pos()
public void readBytes(byte[] data, int offset, int length) throws java.lang.Exception
data
- the dataoffset
- the offsetlength
- the length
java.lang.Exception
- the exceptionpublic final int readOpaque16() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readOpaque24A() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readOpaque24B() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readOpaque32() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readOpaque8() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readS16() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readS32() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readS8() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final java.lang.String readString() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readU16() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readU32() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final int readU8() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic final void setptr(int p)
p
- the new ptrpublic final void skip(int bytes) throws java.lang.Exception
bytes
- the bytes
java.lang.Exception
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |