se.sics.jipv6.util
Class Utils
java.lang.Object
se.sics.jipv6.util.Utils
public class Utils
- extends Object
Constructor Summary |
Utils()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
binary8
public static String binary8(int data)
binary16
public static String binary16(int data)
hex8
public static String hex8(int data)
hex16
public static String hex16(int data)
fill
public static void fill(byte[] array,
int pos,
int len,
byte value)
decodeInt
public static int decodeInt(String value)
throws NumberFormatException
- Throws:
NumberFormatException
decodeLong
public static long decodeLong(String value)
throws NumberFormatException
- Throws:
NumberFormatException
hexconv
public static byte[] hexconv(String line)
equals
public static boolean equals(byte[] arr1,
byte[] arr2)