com.metsci.glimpse.util.io
Class LittleEndianDataOutput
java.lang.Object
com.metsci.glimpse.util.io.LittleEndianDataOutput
- All Implemented Interfaces:
- java.io.DataOutput
public class LittleEndianDataOutput
- extends java.lang.Object
- implements java.io.DataOutput
LittleEndianDataInput is a wrapper around a DataOutput object
that converts data from Java standard big-endian to little-endian
before outputting it.
- Author:
- hogye
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LittleEndianDataOutput
public LittleEndianDataOutput(java.io.DataOutput out)
write
public void write(int arg0)
throws java.io.IOException
- Specified by:
write
in interface java.io.DataOutput
- Throws:
java.io.IOException
write
public void write(byte[] arg0)
throws java.io.IOException
- Specified by:
write
in interface java.io.DataOutput
- Throws:
java.io.IOException
write
public void write(byte[] arg0,
int arg1,
int arg2)
throws java.io.IOException
- Specified by:
write
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeBoolean
public void writeBoolean(boolean arg0)
throws java.io.IOException
- Specified by:
writeBoolean
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeByte
public void writeByte(int arg0)
throws java.io.IOException
- Specified by:
writeByte
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeShort
public void writeShort(int arg0)
throws java.io.IOException
- Specified by:
writeShort
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeChar
public void writeChar(int arg0)
throws java.io.IOException
- Specified by:
writeChar
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeInt
public void writeInt(int arg0)
throws java.io.IOException
- Specified by:
writeInt
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeLong
public void writeLong(long arg0)
throws java.io.IOException
- Specified by:
writeLong
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeFloat
public void writeFloat(float arg0)
throws java.io.IOException
- Specified by:
writeFloat
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeDouble
public void writeDouble(double arg0)
throws java.io.IOException
- Specified by:
writeDouble
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeBytes
public void writeBytes(java.lang.String arg0)
throws java.io.IOException
- Specified by:
writeBytes
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeChars
public void writeChars(java.lang.String arg0)
throws java.io.IOException
- Specified by:
writeChars
in interface java.io.DataOutput
- Throws:
java.io.IOException
writeUTF
public void writeUTF(java.lang.String arg0)
throws java.io.IOException
- Specified by:
writeUTF
in interface java.io.DataOutput
- Throws:
java.io.IOException
Copyright © 2012 Metron, Inc.. All Rights Reserved.