public class LittleEndianInputStream extends DataInputStreamEx
DataInputStreamExin| Constructor and Description |
|---|
LittleEndianInputStream(InputStream is)
Creates a new little endian input stream.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
readStringLLLE()
Read a string from this stream prefixed by its length, a short in
little endian byte order.
|
readBytes, readString, readString0, readStringL, readStringLL, readStringNullPadded, readStringUntilNullread, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic LittleEndianInputStream(InputStream is)
is - the underlying input streampublic int readIntLE()
throws IOException
IOException - if an error occurspublic short readShortLE()
throws IOException
IOException - if an error occurspublic String readStringLLLE() throws IOException
IOException - if an error occurs