java.lang.Object
org.apache.jena.atlas.lib.Hex
Working in hex ...
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidformatUnsignedLongHex(byte[] b, int start, long value, int width) Format a long value into a byte array as hex digitsstatic longgetLong(byte[] arr, int idx) static inthexByteToInt(int c) static inthexByteToInt(int c, int marker) Return the value of the hex digit, or the marker value if not a hex digit.static inthexStringToInt(String s, int i, int len) Hex string to value
-
Constructor Details
-
Hex
public Hex()
-
-
Method Details
-
formatUnsignedLongHex
public static void formatUnsignedLongHex(byte[] b, int start, long value, int width) Format a long value into a byte array as hex digits -
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. -
hexStringToInt
Hex string to value
-