endrov.util.collection
Class EvBitsUtil

java.lang.Object
  extended by endrov.util.collection.EvBitsUtil

public class EvBitsUtil
extends java.lang.Object


Constructor Summary
EvBitsUtil()
           
 
Method Summary
static int byteArrayToInt(byte b0, byte b1, byte b2, byte b3)
           
static int byteArrayToShort(byte b0, byte b1)
           
static byte[] intToByteArray(int value)
           
static byte[] shortToByteArray(short value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvBitsUtil

public EvBitsUtil()
Method Detail

intToByteArray

public static final byte[] intToByteArray(int value)

byteArrayToInt

public static final int byteArrayToInt(byte b0,
                                       byte b1,
                                       byte b2,
                                       byte b3)

shortToByteArray

public static final byte[] shortToByteArray(short value)

byteArrayToShort

public static final int byteArrayToShort(byte b0,
                                         byte b1)