org.openjena.atlas.lib
Class Hex
java.lang.Object
org.openjena.atlas.lib.Hex
public class Hex
- extends java.lang.Object
Working in hex ...
|
Constructor Summary |
Hex()
|
|
Method Summary |
static int |
formatUnsignedLongHex(byte[] b,
int start,
long value,
int width)
|
static long |
getLong(byte[] arr,
int idx)
|
static int |
hexByteToInt(int c)
|
static int |
hexByteToInt(int c,
int marker)
Return the value of the hex digit, or the marker value if not a hex digit. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hex
public Hex()
formatUnsignedLongHex
public static int formatUnsignedLongHex(byte[] b,
int start,
long value,
int width)
getLong
public static long getLong(byte[] arr,
int idx)
hexByteToInt
public static int hexByteToInt(int c)
hexByteToInt
public static int hexByteToInt(int c,
int marker)
- Return the value of the hex digit, or the marker value if not a hex digit.
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.