Given a stringbuilder of bytes values in hexadecimal format return a string in the wanted style.

Namespace: LLCryptoLib.Utils
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public static string Format(
	string hexRepr,
	HexEnum newFormat
)
Visual Basic
Public Shared Function Format ( _
	hexRepr As String, _
	newFormat As HexEnum _
) As String
Visual C++
public:
static String^ Format(
	String^ hexRepr, 
	HexEnum newFormat
)

Parameters

hexRepr
Type: System..::..String
Is a StringBuilder containing a plain bytes representation (in the UNIX form) in lowercase or uppercase
newFormat
Type: LLCryptoLib.Utils..::..HexEnum
The wanted style

Return Value

A string with the wanted style

See Also