Creates a string that contains the hexadecimal representation of the long value with the specified number of hexadecimal digits.
public static String longToHex( long value, int digits )
value
The long value to create the hexadecimal string for.
digits
The number of hexadecimal digits to put into the string.
Returns the hexadecimal representation of the specified value.