|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.walluck.io.DataInputStreamEx
org.walluck.io.LittleEndianInputStream
An input stream that supports little endian byte order to the limited degree needed to support ICQ.
DataInputStreamEx| Field Summary |
| Fields inherited from class java.io.FilterInputStream |
in |
| Constructor Summary | |
LittleEndianInputStream(java.io.InputStream is)
Creates a new little endian input stream. |
|
| Method Summary | |
int |
readIntLE()
Read an integer from this stream in little endian byte order. |
short |
readShortLE()
Read a short from this stream in little endian byte order. |
java.lang.String |
readStringLLLE()
Read a string from this stream prefixed by its length, a short in little endian byte order. |
| Methods inherited from class org.walluck.io.DataInputStreamEx |
readBytes, readString, readString0, readStringL, readStringLL, readStringNullPadded, readStringUntilNull |
| Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
| Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LittleEndianInputStream(java.io.InputStream is)
is - the underlying input stream| Method Detail |
public int readIntLE()
throws java.io.IOException
java.io.IOException - if an error occurs
public short readShortLE()
throws java.io.IOException
java.io.IOException - if an error occurs
public java.lang.String readStringLLLE()
throws java.io.IOException
java.io.IOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||