jxUtil 0.6

org.sourceforge.jxutil.io
Class DataConverterLE

java.lang.Object
  |
  +--org.sourceforge.jxutil.io.DataConverter
        |
        +--org.sourceforge.jxutil.io.DataConverterLE

public class DataConverterLE
extends DataConverter


Field Summary
static DataConverter instance
           
 
Constructor Summary
(package private) DataConverterLE()
           
 
Method Summary
 int getInt(byte[] buf, int ofs)
           
 long getLong(byte[] buf, int ofs)
           
 short getShort(byte[] buf, int ofs)
           
 void setInt(int x, byte[] buf, int ofs)
           
 void setLong(long x, byte[] buf, int ofs)
           
 void setShort(short x, byte[] buf, int ofs)
           
 
Methods inherited from class org.sourceforge.jxutil.io.DataConverter
getByte, getByte, getDouble, getDouble, getFloat, getFloat, getInstance, getInstance, getInt, getLong, getShort, getUnsignedByte, getUnsignedByte, getUnsignedInt, getUnsignedInt, getUnsignedLong, getUnsignedLong, getUnsignedShort, getUnsignedShort, setByte, setByte, setByte, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setLong, setLong, setShort, setShort, setUnsignedByte, setUnsignedByte, setUnsignedByte, setUnsignedInt, setUnsignedInt, setUnsignedInt, setUnsignedLong, setUnsignedLong, setUnsignedLong, setUnsignedShort, setUnsignedShort, setUnsignedShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final DataConverter instance
Constructor Detail

DataConverterLE

DataConverterLE()
Method Detail

getInt

public int getInt(byte[] buf,
                  int ofs)
Specified by:
getInt in class DataConverter

getLong

public long getLong(byte[] buf,
                    int ofs)
Specified by:
getLong in class DataConverter

getShort

public short getShort(byte[] buf,
                      int ofs)
Specified by:
getShort in class DataConverter

setInt

public void setInt(int x,
                   byte[] buf,
                   int ofs)
Specified by:
setInt in class DataConverter

setLong

public void setLong(long x,
                    byte[] buf,
                    int ofs)
Specified by:
setLong in class DataConverter

setShort

public void setShort(short x,
                     byte[] buf,
                     int ofs)
Specified by:
setShort in class DataConverter

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.