org.openjena.atlas.lib
Class Hex
java.lang.Object
org.openjena.atlas.lib.Hex
public class Hex
- extends 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. |
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.
Licenced under the Apache License, Version 2.0