Package org.vast.swe
Class DataOutputStreamLI
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.vast.swe.DataOutputStreamLI
- All Implemented Interfaces:
 Closeable,DataOutput,Flushable,AutoCloseable,DataOutputExt
Equivalent of DataOutputStream to write in little endian order (i.e Least Significant Byte first)
- Since:
 - Jan 10, 2009
 
- 
Field Summary
Fields inherited from class java.io.FilterOutputStream
out - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidwriteASCII(String s) Writes a 0 terminated ASCII string to streamvoidwriteBoolean(boolean v) voidwriteByte(byte v) voidwriteByte(int v) voidwriteBytes(String s) voidwriteChar(int c) voidwriteChars(String s) voidwriteDouble(double v) voidwriteFloat(float v) voidwriteInt(int v) voidwriteLong(long v) voidwriteShort(int v) voidwriteShort(short v) voidwriteUnsignedByte(short v) Writes the lowest significant byte of the given short value as an unsigned bytevoidwriteUnsignedInt(long v) Writes the 4 lowest significant bytes of the given long value as an unsigned intvoidwriteUnsignedLong(long v) Writes long value as unsigned.voidwriteUnsignedShort(int v) Writes the 2 lowest significant bytes of the given int value as an unsigned shortvoidMethods inherited from class java.io.OutputStream
nullOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.DataOutput
write, write, writeMethods inherited from interface org.vast.cdm.common.DataOutputExt
close, flush 
- 
Constructor Details
- 
DataOutputStreamLI
 
 - 
 - 
Method Details
- 
writeBoolean
- Specified by:
 writeBooleanin interfaceDataOutput- Throws:
 IOException
 - 
writeByte
- Throws:
 IOException
 - 
writeByte
- Specified by:
 writeBytein interfaceDataOutput- Throws:
 IOException
 - 
writeUnsignedByte
Description copied from interface:DataOutputExtWrites the lowest significant byte of the given short value as an unsigned byte- Specified by:
 writeUnsignedBytein interfaceDataOutputExt- Throws:
 IOException
 - 
writeShort
- Specified by:
 writeShortin interfaceDataOutput- Throws:
 IOException
 - 
writeShort
- Throws:
 IOException
 - 
writeUnsignedShort
Description copied from interface:DataOutputExtWrites the 2 lowest significant bytes of the given int value as an unsigned short- Specified by:
 writeUnsignedShortin interfaceDataOutputExt- Throws:
 IOException
 - 
writeInt
- Specified by:
 writeIntin interfaceDataOutput- Throws:
 IOException
 - 
writeUnsignedInt
Description copied from interface:DataOutputExtWrites the 4 lowest significant bytes of the given long value as an unsigned int- Specified by:
 writeUnsignedIntin interfaceDataOutputExt- Throws:
 IOException
 - 
writeLong
- Specified by:
 writeLongin interfaceDataOutput- Throws:
 IOException
 - 
writeUnsignedLong
Description copied from interface:DataOutputExtWrites long value as unsigned.- Specified by:
 writeUnsignedLongin interfaceDataOutputExt- Throws:
 IOException
 - 
writeFloat
- Specified by:
 writeFloatin interfaceDataOutput- Throws:
 IOException
 - 
writeDouble
- Specified by:
 writeDoublein interfaceDataOutput- Throws:
 IOException
 - 
writeChar
- Specified by:
 writeCharin interfaceDataOutput- Throws:
 IOException
 - 
writeASCII
Description copied from interface:DataOutputExtWrites a 0 terminated ASCII string to stream- Specified by:
 writeASCIIin interfaceDataOutputExt- Throws:
 IOException
 - 
writeUTF
- Specified by:
 writeUTFin interfaceDataOutput- Throws:
 IOException
 - 
writeChars
- Specified by:
 writeCharsin interfaceDataOutput- Throws:
 IOException
 - 
writeBytes
- Specified by:
 writeBytesin interfaceDataOutput- Throws:
 IOException
 
 -