public class LittleEndianInputStream
extends java.io.DataInputStream
构造器和说明 |
---|
LittleEndianInputStream(java.io.InputStream in)
Creates a new instance of LittleEndianInputStream, which will read from the specified source.
|
限定符和类型 | 方法和说明 |
---|---|
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() |
public LittleEndianInputStream(java.io.InputStream in)
in
- the source InputStreampublic 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.IOException
public long readUnsignedIntLE() throws java.io.IOException
java.io.IOException