Utils.longToHex

Overview | Methods | This Package | All Packages

Utils.longToHex

Creates a string that contains the hexadecimal representation of the long value with the specified number of hexadecimal digits.

Syntax

public static String longToHex( long value, int digits )

Parameters

value

The long value to create the hexadecimal string for.

digits

The number of hexadecimal digits to put into the string.

Return Value

Returns the hexadecimal representation of the specified value.