utils
Class ByteUtil
java.lang.Object
   utils.ByteUtil
utils.ByteUtil
- public class ByteUtil 
- extends java.lang.Object
 
| Method Summary | 
| static java.lang.String | getHex(byte b)
 | 
| static java.lang.String | getHex(byte[] b)Encode a byte array into a hexidecimal String
 | 
| static int | getInt(byte b)
 | 
| static void | main(java.lang.String[] args)
 | 
| static void | printToDecimal(byte b)
 | 
| static void | printToHex(byte b)
 | 
| static void | printToOctal(byte b)
 | 
| static void | testGetHex()
 | 
| static int | toInt(byte b)
 | 
| static java.lang.String | toString(byte b)
 | 
| static java.lang.String | toString(byte b,
         int radix)
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ByteUtil
public ByteUtil()
printToDecimal
public static void printToDecimal(byte b)
- 
 
getInt
public static int getInt(byte b)
- 
 
toInt
public static int toInt(byte b)
- 
 
toString
public static java.lang.String toString(byte b,
                                        int radix)
- 
 
toString
public static java.lang.String toString(byte b)
- 
 
printToHex
public static void printToHex(byte b)
- 
 
testGetHex
public static void testGetHex()
- 
 
getHex
public static java.lang.String getHex(byte[] b)
- Encode a byte array into a hexidecimal String
 
- 
- Parameters:
- b-
- Returns:
 
getHex
public static java.lang.String getHex(byte b)
- 
 
printToOctal
public static void printToOctal(byte b)
- 
 
main
public static void main(java.lang.String[] args)
-