org.kc7bfi.jflac.util
Class LittleEndianDataOutput

java.lang.Object
  extended by org.kc7bfi.jflac.util.LittleEndianDataOutput
All Implemented Interfaces:
DataOutput

public class LittleEndianDataOutput
extends Object
implements DataOutput

This class extends DataOutput for writing little-endian data.

Author:
kc7bfi

Constructor Summary
LittleEndianDataOutput(DataOutput out)
          The constructor.
 
Method Summary
 void write(byte[] arg0)
           
 void write(byte[] arg0, int arg1, int arg2)
           
 void write(int arg0)
           
 void writeBoolean(boolean arg0)
           
 void writeByte(int arg0)
           
 void writeBytes(String arg0)
           
 void writeChar(int arg0)
           
 void writeChars(String arg0)
           
 void writeDouble(double arg0)
           
 void writeFloat(float arg0)
           
 void writeInt(int arg0)
           
 void writeLong(long arg0)
           
 void writeShort(int arg0)
           
 void writeUTF(String arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LittleEndianDataOutput

public LittleEndianDataOutput(DataOutput out)
The constructor.

Parameters:
out - The DataOutput to read on
Method Detail

writeDouble

public void writeDouble(double arg0)
                 throws IOException
Specified by:
writeDouble in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeDouble(double)

writeFloat

public void writeFloat(float arg0)
                throws IOException
Specified by:
writeFloat in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeFloat(float)

write

public void write(int arg0)
           throws IOException
Specified by:
write in interface DataOutput
Throws:
IOException
See Also:
DataOutput.write(int)

writeByte

public void writeByte(int arg0)
               throws IOException
Specified by:
writeByte in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeByte(int)

writeChar

public void writeChar(int arg0)
               throws IOException
Specified by:
writeChar in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeChar(int)

writeInt

public void writeInt(int arg0)
              throws IOException
Specified by:
writeInt in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeInt(int)

writeShort

public void writeShort(int arg0)
                throws IOException
Specified by:
writeShort in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeShort(int)

writeLong

public void writeLong(long arg0)
               throws IOException
Specified by:
writeLong in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeLong(long)

writeBoolean

public void writeBoolean(boolean arg0)
                  throws IOException
Specified by:
writeBoolean in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeBoolean(boolean)

write

public void write(byte[] arg0)
           throws IOException
Specified by:
write in interface DataOutput
Throws:
IOException
See Also:
DataOutput.write(byte[])

write

public void write(byte[] arg0,
                  int arg1,
                  int arg2)
           throws IOException
Specified by:
write in interface DataOutput
Throws:
IOException
See Also:
DataOutput.write(byte[], int, int)

writeBytes

public void writeBytes(String arg0)
                throws IOException
Specified by:
writeBytes in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeBytes(java.lang.String)

writeChars

public void writeChars(String arg0)
                throws IOException
Specified by:
writeChars in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeChars(java.lang.String)

writeUTF

public void writeUTF(String arg0)
              throws IOException
Specified by:
writeUTF in interface DataOutput
Throws:
IOException
See Also:
DataOutput.writeUTF(java.lang.String)


Copyright © 2004-2011. All Rights Reserved.