unity.util
Class Convert

java.lang.Object
  extended by unity.util.Convert

public class Convert
extends java.lang.Object


Constructor Summary
Convert()
           
 
Method Summary
static java.math.BigDecimal toBigDecimal(byte[] ba, int len)
           
static byte[] toByte(int i)
           
static byte[] toByte(short sh)
           
static byte[] toByte(java.lang.String s)
           
static int toInt(byte[] ba)
           
static short toShort(byte[] ba)
           
static java.lang.String toString(byte[] ba, int len)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Convert

public Convert()
Method Detail

toByte

public static final byte[] toByte(short sh)

toByte

public static final byte[] toByte(int i)

toByte

public static final byte[] toByte(java.lang.String s)

toInt

public static final int toInt(byte[] ba)

toShort

public static final short toShort(byte[] ba)

toString

public static final java.lang.String toString(byte[] ba,
                                              int len)

toBigDecimal

public static final java.math.BigDecimal toBigDecimal(byte[] ba,
                                                      int len)