Convert a byte array into a hexadecimal string.
Namespace: LLCryptoLib.HashAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static string ByteToHexadecimal(
byte[] array,
int offset,
int length
) |
Visual Basic |
---|
Public Shared Function ByteToHexadecimal ( _
array As Byte(), _
offset As Integer, _
length As Integer _
) As String |
Visual C++ |
---|
public:
static String^ ByteToHexadecimal(
array<unsigned char>^ array,
int offset,
int length
) |
Parameters
- array
- Type: array<System..::..Byte>[]()[][]
The byte array to convert.
- offset
- Type: System..::..Int32
Position in the array to begin the conversion.
- length
- Type: System..::..Int32
How many bytes in the array to convert.
Return Value
A string containing the hexadecimal equivelent of the byte array.
See Also