| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
net.sf.image4j.io.LittleEndianOutputStream
public class LittleEndianOutputStream
Writes little-endian data to a target OutputStream by reversing byte ordering.
| Field Summary | 
|---|
| Fields inherited from class java.io.DataOutputStream | 
|---|
written | 
| Fields inherited from class java.io.FilterOutputStream | 
|---|
out | 
| Constructor Summary | |
|---|---|
LittleEndianOutputStream(java.io.OutputStream out)
Creates a new instance of LittleEndianOutputStream, which will write to the specified target.  | 
|
| Method Summary | |
|---|---|
 void | 
writeDoubleLE(double value)
Writes a little-endian double value  | 
 void | 
writeFloatLE(float value)
Writes a little-endian float value  | 
 void | 
writeIntLE(int value)
Writes a little-endian int value  | 
 void | 
writeLongLE(long value)
Writes a little-endian long value  | 
 void | 
writeShortLE(short value)
Writes a little-endian short value  | 
 void | 
writeUnsignedInt(long value)
 | 
 void | 
writeUnsignedIntLE(long value)
 | 
| Methods inherited from class java.io.DataOutputStream | 
|---|
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF | 
| Methods inherited from class java.io.FilterOutputStream | 
|---|
close, write | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface java.io.DataOutput | 
|---|
write | 
| Constructor Detail | 
|---|
public LittleEndianOutputStream(java.io.OutputStream out)
out - the target OutputStream| Method Detail | 
|---|
public void writeShortLE(short value)
                  throws java.io.IOException
value - the source value to convert
java.io.IOException - if an error occurs
public void writeIntLE(int value)
                throws java.io.IOException
value - the source value to convert
java.io.IOException - if an error occurs
public void writeFloatLE(float value)
                  throws java.io.IOException
value - the source value to convert
java.io.IOException - if an error occurs
public void writeLongLE(long value)
                 throws java.io.IOException
value - the source value to convert
java.io.IOException - if an error occurs
public void writeDoubleLE(double value)
                   throws java.io.IOException
value - the source value to convert
java.io.IOException - if an error occurs
public void writeUnsignedInt(long value)
                      throws java.io.IOException
java.io.IOException
public void writeUnsignedIntLE(long value)
                        throws java.io.IOException
java.io.IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||