Class LEDataOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.jogamp.opengl.util.texture.spi.LEDataOutputStream
- All Implemented Interfaces:
Closeable
,DataOutput
,Flushable
,AutoCloseable
Little Endian Data Output Stream.
This class implements an output stream filter to allow writing
of java native datatypes to an output stream which has those
native datatypes stored in a little endian byte order.
This is the sister class of the DataOutputStream which allows for writing of java native datatypes to an output stream with the datatypes stored in big endian byte order.
This class implements the minimum required and calls DataOutputStream for some of the required methods for DataOutput.
Not all methods are implemented due to lack of immediate requirement for that functionality. It is not clear if it is ever going to be functionally required to be able to read UTF data in a LittleEndianManner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
final void
write
(byte[] b) final void
write
(byte[] b, int off, int len) final void
write
(int b) final void
writeBoolean
(boolean v) final void
writeByte
(int v) final void
writeBytes
(String s) Don't call this -- not implementedfinal void
writeChar
(int v) final void
writeChars
(String s) Don't call this -- not implementedfinal void
writeDouble
(double v) final void
writeFloat
(float v) final void
writeInt
(int v) final void
writeLong
(long v) final void
writeShort
(int v) final void
Don't call this -- not implementedMethods inherited from class java.io.FilterOutputStream
flush
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
LEDataOutputStream
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
writeBoolean
- Specified by:
writeBoolean
in interfaceDataOutput
- Throws:
IOException
-
writeByte
- Specified by:
writeByte
in interfaceDataOutput
- Throws:
IOException
-
writeBytes
Don't call this -- not implemented- Specified by:
writeBytes
in interfaceDataOutput
- Throws:
IOException
-
writeChar
- Specified by:
writeChar
in interfaceDataOutput
- Throws:
IOException
-
writeChars
Don't call this -- not implemented- Specified by:
writeChars
in interfaceDataOutput
- Throws:
IOException
-
writeDouble
- Specified by:
writeDouble
in interfaceDataOutput
- Throws:
IOException
-
writeFloat
- Specified by:
writeFloat
in interfaceDataOutput
- Throws:
IOException
-
writeInt
- Specified by:
writeInt
in interfaceDataOutput
- Throws:
IOException
-
writeLong
- Specified by:
writeLong
in interfaceDataOutput
- Throws:
IOException
-
writeShort
- Specified by:
writeShort
in interfaceDataOutput
- Throws:
IOException
-
writeUTF
Don't call this -- not implemented- Specified by:
writeUTF
in interfaceDataOutput
- Throws:
IOException
-