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 aFilterInputStreamby assigning the argumentinto the fieldthis.inso 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.Vector4dMethods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesMethods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferToMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 aFilterInputStreamby assigning the argumentinto the fieldthis.inso as to remember it for later use.- Parameters:
in- the underlying input stream, ornullif 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
-