Convert a stream of bytes into a string of hexadecimal numbers

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

Syntax

C#
public static string BytesToHex(
	byte[] inbytes,
	char divide
)
Visual Basic
Public Shared Function BytesToHex ( _
	inbytes As Byte(), _
	divide As Char _
) As String
Visual C++
public:
static String^ BytesToHex(
	array<unsigned char>^ inbytes, 
	wchar_t divide
)

Parameters

inbytes
Type: array<System..::..Byte>[]()[][]
Array of bytes
divide
Type: System..::..Char
dividing char between hexes

Return Value

String of hexadecimal values

See Also