com.imagero.uio.xform
Class ByteToXLE

java.lang.Object
  extended bycom.imagero.uio.xform.ByteToXLE

public class ByteToXLE
extends java.lang.Object

Date: 10.01.2008


Constructor Summary
ByteToXLE()
           
 
Method Summary
static int byteToChar(byte[] source, int sourceOffset)
           
static int byteToChar(byte[] source, int sourceOffset, char[] dest, int destOffset)
           
static void byteToChar(byte[] source, int sourceOffset, int count, char[] dest, int destOffset)
           
static double byteToDoubleLE(byte[] source, int sourceOffset)
           
static int byteToDoubleLE(byte[] source, int sourceOffset, double[] dest, int destOffset)
           
static void byteToDoubleLE(byte[] source, int sourceOffset, int count, double[] dest, int destOffset)
           
static float byteToFloatLE(byte[] source, int sourceOffset)
           
static int byteToFloatLE(byte[] source, int sourceOffset, float[] dest, int destOffset)
           
static void byteToFloatLE(byte[] source, int sourceOffset, int count, float[] dest, int destOffset)
           
static int byteToInt(byte[] source, int sourceOffset)
           
static int byteToInt(byte[] source, int sourceOffset, int[] dest, int destOffset)
          write int in LITTLE_ENDIAN order
static void byteToInt(byte[] source, int sourceOffset, int count, int[] dest, int destOffset)
           
static int byteToIntLE(int bytesInInt, byte[] source, int sourceOffset, int[] dest, int destOffset)
           
static void byteToIntLE(int bytesInInt, byte[] source, int sourceOffset, int count, int[] dest, int destOffset)
           
static long byteToLongLE(byte[] source, int sourceOffset)
           
static void byteToLongLE(byte[] source, int sourceOffset, int count, long[] dest, int destOffset)
           
static int byteToLongLE(byte[] source, int sourceOffset, long[] dest, int destOffset)
           
static void byteToLongLE(int bytesInLong, byte[] source, int sourceOffset, int count, long[] dest, int destOffset)
           
static int byteToLongLE(int bytesInLong, byte[] source, int sourceOffset, long[] dest, int destOffset)
           
static int byteToShortLE(byte[] source, int sourceOffset)
           
static void byteToShortLE(byte[] source, int sourceOffset, int count, short[] dest, int destOffset)
           
static int byteToShortLE(byte[] source, int sourceOffset, short[] dest, int destOffset)
           
static void byteToShortLE(int bytesInShort, byte[] source, int sourceOffset, int count, short[] dest, int destOffset)
           
static int byteToShortLE(int bytesInShort, byte[] source, int sourceOffset, short[] dest, int destOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteToXLE

public ByteToXLE()
Method Detail

byteToInt

public static final int byteToInt(byte[] source,
                                  int sourceOffset,
                                  int[] dest,
                                  int destOffset)
write int in LITTLE_ENDIAN order

Parameters:
source - source byte array
sourceOffset - offset in source array
destOffset - offset in destination array
Returns:
new offset in source array (for next writeUnitXX)

byteToInt

public static final int byteToInt(byte[] source,
                                  int sourceOffset)

byteToInt

public static final void byteToInt(byte[] source,
                                   int sourceOffset,
                                   int count,
                                   int[] dest,
                                   int destOffset)

byteToChar

public static int byteToChar(byte[] source,
                             int sourceOffset,
                             char[] dest,
                             int destOffset)

byteToChar

public static int byteToChar(byte[] source,
                             int sourceOffset)

byteToChar

public static void byteToChar(byte[] source,
                              int sourceOffset,
                              int count,
                              char[] dest,
                              int destOffset)

byteToDoubleLE

public static int byteToDoubleLE(byte[] source,
                                 int sourceOffset,
                                 double[] dest,
                                 int destOffset)

byteToDoubleLE

public static double byteToDoubleLE(byte[] source,
                                    int sourceOffset)

byteToDoubleLE

public static void byteToDoubleLE(byte[] source,
                                  int sourceOffset,
                                  int count,
                                  double[] dest,
                                  int destOffset)

byteToFloatLE

public static int byteToFloatLE(byte[] source,
                                int sourceOffset,
                                float[] dest,
                                int destOffset)

byteToFloatLE

public static float byteToFloatLE(byte[] source,
                                  int sourceOffset)

byteToFloatLE

public static void byteToFloatLE(byte[] source,
                                 int sourceOffset,
                                 int count,
                                 float[] dest,
                                 int destOffset)

byteToLongLE

public static int byteToLongLE(byte[] source,
                               int sourceOffset,
                               long[] dest,
                               int destOffset)

byteToLongLE

public static long byteToLongLE(byte[] source,
                                int sourceOffset)

byteToLongLE

public static void byteToLongLE(byte[] source,
                                int sourceOffset,
                                int count,
                                long[] dest,
                                int destOffset)

byteToShortLE

public static int byteToShortLE(byte[] source,
                                int sourceOffset,
                                short[] dest,
                                int destOffset)

byteToShortLE

public static int byteToShortLE(byte[] source,
                                int sourceOffset)

byteToShortLE

public static void byteToShortLE(byte[] source,
                                 int sourceOffset,
                                 int count,
                                 short[] dest,
                                 int destOffset)

byteToIntLE

public static final void byteToIntLE(int bytesInInt,
                                     byte[] source,
                                     int sourceOffset,
                                     int count,
                                     int[] dest,
                                     int destOffset)

byteToShortLE

public static final void byteToShortLE(int bytesInShort,
                                       byte[] source,
                                       int sourceOffset,
                                       int count,
                                       short[] dest,
                                       int destOffset)

byteToLongLE

public static final void byteToLongLE(int bytesInLong,
                                      byte[] source,
                                      int sourceOffset,
                                      int count,
                                      long[] dest,
                                      int destOffset)

byteToIntLE

public static final int byteToIntLE(int bytesInInt,
                                    byte[] source,
                                    int sourceOffset,
                                    int[] dest,
                                    int destOffset)

byteToShortLE

public static final int byteToShortLE(int bytesInShort,
                                      byte[] source,
                                      int sourceOffset,
                                      short[] dest,
                                      int destOffset)

byteToLongLE

public static final int byteToLongLE(int bytesInLong,
                                     byte[] source,
                                     int sourceOffset,
                                     long[] dest,
                                     int destOffset)