public class LittleEndianInputStream extends DataInputStream implements CountingDataInput
in| 构造器和说明 |
|---|
LittleEndianInputStream(CountingInputStream in)
Creates a new instance of LittleEndianInputStream, which will read from the specified source.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytespublic LittleEndianInputStream(CountingInputStream in)
in - the source InputStreampublic int getCount()
getCount 在接口中 CountingInputpublic int skip(int count,
boolean strict)
throws IOException
IOExceptionpublic short readShortLE()
throws IOException
IOException - if an error occurspublic int readIntLE()
throws IOException
IOException - if an error occurspublic float readFloatLE()
throws IOException
IOException - if an error occurspublic long readLongLE()
throws IOException
IOException - if an error occurspublic double readDoubleLE()
throws IOException
IOException - if an error occurspublic long readUnsignedInt()
throws IOException
IOExceptionpublic long readUnsignedIntLE()
throws IOException
IOExceptionCopyright © 2021. All rights reserved.