Package com.gaia3d.io
Class BigEndianDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
com.gaia3d.io.BigEndianDataInputStream
- All Implemented Interfaces:
Closeable
,DataInput
,AutoCloseable
BigEndianDataInputStream
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aFilterInputStream
by assigning the argumentin
to the fieldthis.in
so as to remember it for later use. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
readBytes
(int count) float[]
readFloats
(int count) readIntAndUTF
(int length) int[]
readInts
(int count) short[]
readShorts
(int count) readText()
org.joml.Vector4d
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.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
Constructor Details
-
BigEndianDataInputStream
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
-
readBytes
- Throws:
IOException
-
readShorts
- Throws:
IOException
-
readInts
- Throws:
IOException
-
readFloats
- Throws:
IOException
-
readText
- Throws:
IOException
-
readVector4
- Throws:
IOException
-
readIntAndUTF
- Throws:
IOException
-
readIntAndUTF
- Throws:
IOException
-