com.imagero.uio.xform
Class ByteToXBE
java.lang.Object
com.imagero.uio.xform.ByteToXBE
- public class ByteToXBE
- extends java.lang.Object
Big endian transform from bytes to other primitives.
Date: 10.01.2008
|
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 |
byteToDoubleBE(byte[] source,
int sourceOffset)
|
static int |
byteToDoubleBE(byte[] source,
int sourceOffset,
double[] dest,
int destOffset)
|
static void |
byteToDoubleBE(byte[] source,
int sourceOffset,
int count,
double[] dest,
int destOffset)
|
static float |
byteToFloatBE(byte[] source,
int sourceOffset)
|
static int |
byteToFloatBE(byte[] source,
int sourceOffset,
float[] dest,
int destOffset)
|
static void |
byteToFloatBE(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 BIG_ENDIAN order |
static void |
byteToInt(byte[] source,
int sourceOffset,
int count,
int[] dest,
int destOffset)
|
static int |
byteToIntBE(int bytesInInt,
byte[] source,
int sourceOffset,
int[] dest,
int destOffset)
|
static void |
byteToIntBE(int bytesInInt,
byte[] source,
int sourceOffset,
int count,
int[] dest,
int destOffset)
|
static long |
byteToLongBE(byte[] source,
int sourceOffset)
|
static void |
byteToLongBE(byte[] source,
int sourceOffset,
int count,
long[] dest,
int destOffset)
|
static int |
byteToLongBE(byte[] source,
int sourceOffset,
long[] dest,
int destOffset)
|
static void |
byteToLongBE(int bytesInLong,
byte[] source,
int sourceOffset,
int count,
long[] dest,
int destOffset)
|
static int |
byteToLongBE(int bytesInLong,
byte[] source,
int sourceOffset,
long[] dest,
int destOffset)
|
static int |
byteToShortBE(byte[] source,
int sourceOffset)
|
static void |
byteToShortBE(byte[] source,
int sourceOffset,
int count,
short[] dest,
int destOffset)
|
static int |
byteToShortBE(byte[] source,
int sourceOffset,
short[] dest,
int destOffset)
|
static void |
byteToShortBE(int bytesInShort,
byte[] source,
int sourceOffset,
int count,
short[] dest,
int destOffset)
|
static int |
byteToShortBE(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 |
ByteToXBE
public ByteToXBE()
byteToInt
public static final int byteToInt(byte[] source,
int sourceOffset,
int[] dest,
int destOffset)
- write int in BIG_ENDIAN order
- Parameters:
source - source byte arraysourceOffset - offset in source arraydestOffset - 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)
byteToDoubleBE
public static int byteToDoubleBE(byte[] source,
int sourceOffset,
double[] dest,
int destOffset)
byteToDoubleBE
public static double byteToDoubleBE(byte[] source,
int sourceOffset)
byteToDoubleBE
public static void byteToDoubleBE(byte[] source,
int sourceOffset,
int count,
double[] dest,
int destOffset)
byteToFloatBE
public static int byteToFloatBE(byte[] source,
int sourceOffset,
float[] dest,
int destOffset)
byteToFloatBE
public static float byteToFloatBE(byte[] source,
int sourceOffset)
byteToFloatBE
public static void byteToFloatBE(byte[] source,
int sourceOffset,
int count,
float[] dest,
int destOffset)
byteToLongBE
public static int byteToLongBE(byte[] source,
int sourceOffset,
long[] dest,
int destOffset)
byteToLongBE
public static long byteToLongBE(byte[] source,
int sourceOffset)
byteToLongBE
public static void byteToLongBE(byte[] source,
int sourceOffset,
int count,
long[] dest,
int destOffset)
byteToIntBE
public static final void byteToIntBE(int bytesInInt,
byte[] source,
int sourceOffset,
int count,
int[] dest,
int destOffset)
byteToShortBE
public static final void byteToShortBE(int bytesInShort,
byte[] source,
int sourceOffset,
int count,
short[] dest,
int destOffset)
byteToLongBE
public static final void byteToLongBE(int bytesInLong,
byte[] source,
int sourceOffset,
int count,
long[] dest,
int destOffset)
byteToIntBE
public static final int byteToIntBE(int bytesInInt,
byte[] source,
int sourceOffset,
int[] dest,
int destOffset)
byteToShortBE
public static final int byteToShortBE(int bytesInShort,
byte[] source,
int sourceOffset,
short[] dest,
int destOffset)
byteToLongBE
public static final int byteToLongBE(int bytesInLong,
byte[] source,
int sourceOffset,
long[] dest,
int destOffset)
byteToShortBE
public static int byteToShortBE(byte[] source,
int sourceOffset,
short[] dest,
int destOffset)
byteToShortBE
public static int byteToShortBE(byte[] source,
int sourceOffset)
byteToShortBE
public static void byteToShortBE(byte[] source,
int sourceOffset,
int count,
short[] dest,
int destOffset)