org.openjena.atlas.lib
Class Hex

java.lang.Object
  extended by 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hex

public Hex()
Method Detail

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