Package com.gaia3d.io
Class LittleEndianDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.gaia3d.io.LittleEndianDataInputStream
- All Implemented Interfaces:
Closeable
,DataInput
,AutoCloseable
LittleEndianDataInputStream
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aFilterInputStream
by assigning the argumentin
to the fieldthis.in
so as to remember it for later use. -
Method Summary
Modifier and TypeMethodDescriptionboolean
byte
readByte()
byte[]
readBytes
(int count) char
readChar()
double
float
float[]
readFloats
(int count) void
readFully
(byte[] b) void
readFully
(byte[] b, int off, int len) int
readInt()
readIntAndUTF
(int length) int[]
readInts
(int count) readLine()
long
readLong()
short
short[]
readShorts
(int count) readText()
int
int
readUTF()
readUTF
(int length) org.joml.Vector4d
int
skipBytes
(int n) Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
LittleEndianDataInputStream
Creates aFilterInputStream
by assigning the argumentin
to the fieldthis.in
so as to remember it for later use.- Parameters:
in
- the underlying input stream, ornull
if this instance is to be created without an underlying stream.
-
-
Method Details
-
readFully
- Specified by:
readFully
in interfaceDataInput
- Throws:
IOException
-
readFully
- Specified by:
readFully
in interfaceDataInput
- Throws:
IOException
-
skipBytes
- Specified by:
skipBytes
in interfaceDataInput
- Throws:
IOException
-
readBoolean
- Specified by:
readBoolean
in interfaceDataInput
- Throws:
IOException
-
readByte
- Specified by:
readByte
in interfaceDataInput
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
readUnsignedByte
- Specified by:
readUnsignedByte
in interfaceDataInput
- Throws:
IOException
-
readShort
- Specified by:
readShort
in interfaceDataInput
- Throws:
IOException
-
readShorts
- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShort
in interfaceDataInput
- Throws:
IOException
-
readChar
- Specified by:
readChar
in interfaceDataInput
- Throws:
IOException
-
readInt
- Specified by:
readInt
in interfaceDataInput
- Throws:
IOException
-
readInts
- Throws:
IOException
-
readLong
- Specified by:
readLong
in interfaceDataInput
- Throws:
IOException
-
readFloat
- Specified by:
readFloat
in interfaceDataInput
- Throws:
IOException
-
readFloats
- Throws:
IOException
-
readDouble
- Specified by:
readDouble
in interfaceDataInput
- Throws:
IOException
-
readLine
- Specified by:
readLine
in interfaceDataInput
- Throws:
IOException
-
readText
- Throws:
IOException
-
readVector4
- Throws:
IOException
-
readIntAndUTF
- Throws:
IOException
-
readIntAndUTF
- Throws:
IOException
-
readUTF
- Specified by:
readUTF
in interfaceDataInput
- Throws:
IOException
-
readUTF
- Throws:
IOException
-