public class LittleEndianInputStream extends java.io.DataInputStream implements CountingDataInput
| Constructor and Description |
|---|
LittleEndianInputStream(CountingInputStream in)
Creates a new instance of LittleEndianInputStream, which will read from the specified source.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
double |
readDoubleLE()
Reads a little-endian double value.
|
float |
readFloatLE()
Reads a little-endian float value.
|
int |
readIntLE()
Reads a little-endian int value.
|
long |
readLongLE()
Reads a little-endian long value.
|
short |
readShortLE()
Reads a little-endian short value
|
long |
readUnsignedInt() |
long |
readUnsignedIntLE() |
int |
skip(int count,
boolean strict) |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skippublic LittleEndianInputStream(CountingInputStream in)
in - the source InputStreampublic int getCount()
getCount in interface CountingInputpublic int skip(int count,
boolean strict)
throws java.io.IOException
java.io.IOExceptionpublic short readShortLE()
throws java.io.IOException
java.io.IOException - if an error occurspublic int readIntLE()
throws java.io.IOException
java.io.IOException - if an error occurspublic float readFloatLE()
throws java.io.IOException
java.io.IOException - if an error occurspublic long readLongLE()
throws java.io.IOException
java.io.IOException - if an error occurspublic double readDoubleLE()
throws java.io.IOException
java.io.IOException - if an error occurspublic long readUnsignedInt()
throws java.io.IOException
java.io.IOExceptionpublic long readUnsignedIntLE()
throws java.io.IOException
java.io.IOException