-
- All Implemented Interfaces:
-
java.io.Closeable,java.io.DataOutput,java.io.Flushable,java.lang.AutoCloseable
public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput
Implementation of DataOutput that writes data to an OutputStream using little endian byte order.
-
-
Field Summary
Fields Modifier and Type Field Description private final OutputStreamout
-
Constructor Summary
Constructors Constructor Description LittleEndianDataOutputStream(OutputStream out)
-
Method Summary
Modifier and Type Method Description UnitwriteBoolean(Boolean v)UnitwriteByte(Integer v)UnitwriteShort(Integer v)UnitwriteChar(Integer v)UnitwriteInt(Integer v)UnitwriteLong(Long v)UnitwriteFloat(Float v)UnitwriteDouble(Double v)UnitwriteBytes(String s)UnitwriteChars(String s)UnitwriteUTF(String s)-
-
Constructor Detail
-
LittleEndianDataOutputStream
LittleEndianDataOutputStream(OutputStream out)
- Parameters:
out- the underlying output stream.
-
-
Method Detail
-
writeBoolean
Unit writeBoolean(Boolean v)
-
writeShort
Unit writeShort(Integer v)
-
writeFloat
Unit writeFloat(Float v)
-
writeDouble
Unit writeDouble(Double v)
-
writeBytes
Unit writeBytes(String s)
-
writeChars
Unit writeChars(String s)
-
-
-
-