Package com.pnfsoftware.jeb.util.io
Class LEDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.pnfsoftware.jeb.util.io.LEDataInputStream
- All Implemented Interfaces:
Closeable
,DataInput
,AutoCloseable
Little-endian version of a
DataInputStream
.-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
read
(byte[] ba) int
read
(byte[] ba, int off, int len) boolean
byte
readByte()
char
readChar()
double
float
void
readFully
(byte[] ba) void
readFully
(byte[] ba, int off, int len) int
readInt()
int
readLine()
Deprecated.long
readLong()
long
short
int
int
readUTF()
int
skipBytes
(int n) void
skipExact
(long n) Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
LEDataInputStream
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
readBoolean
- Specified by:
readBoolean
in interfaceDataInput
- Throws:
IOException
-
readByte
- Specified by:
readByte
in interfaceDataInput
- Throws:
IOException
-
readChar
- Specified by:
readChar
in interfaceDataInput
- Throws:
IOException
-
readDouble
- Specified by:
readDouble
in interfaceDataInput
- Throws:
IOException
-
readFloat
- Specified by:
readFloat
in interfaceDataInput
- Throws:
IOException
-
readFully
- Specified by:
readFully
in interfaceDataInput
- Throws:
IOException
-
readFully
- Specified by:
readFully
in interfaceDataInput
- Throws:
IOException
-
readInt
- Specified by:
readInt
in interfaceDataInput
- Throws:
IOException
-
readLine
Deprecated.Danger: not portable! Uses local system encoding.- Specified by:
readLine
in interfaceDataInput
- Throws:
IOException
-
readLong
- Specified by:
readLong
in interfaceDataInput
- Throws:
IOException
-
readShort
- Specified by:
readShort
in interfaceDataInput
- Throws:
IOException
-
readUTF
- Specified by:
readUTF
in interfaceDataInput
- Throws:
IOException
-
readUnsignedByte
- Specified by:
readUnsignedByte
in interfaceDataInput
- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShort
in interfaceDataInput
- Throws:
IOException
-
skipBytes
- Specified by:
skipBytes
in interfaceDataInput
- Throws:
IOException
-
skipExact
- Throws:
IOException
-
readIntULEB128
- Throws:
IOException
-
readLongULEB128
- Throws:
IOException
-