|
||||||||||
| 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
net.sf.image4j.io.LittleEndianInputStream
public class LittleEndianInputStream
Reads little-endian data from a source InputStream by reversing byte ordering.
| Field Summary |
|---|
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Constructor Summary | |
|---|---|
LittleEndianInputStream(java.io.InputStream in)
Creates a new instance of LittleEndianInputStream, which will read from the specified source. |
|
| Method Summary | |
|---|---|
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()
|
| 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 in)
in - the source InputStream| Method Detail |
|---|
public short readShortLE()
throws java.io.IOException
java.io.IOException - if an error occurs
public int readIntLE()
throws java.io.IOException
java.io.IOException - if an error occurs
public float readFloatLE()
throws java.io.IOException
java.io.IOException - if an error occurs
public long readLongLE()
throws java.io.IOException
java.io.IOException - if an error occurs
public double readDoubleLE()
throws java.io.IOException
java.io.IOException - if an error occurs
public long readUnsignedInt()
throws java.io.IOException
java.io.IOException
public long readUnsignedIntLE()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||