HexString Method (data, prefix, suffix)

LibUsbDotNet

LibUsbDotNet 2.2.8 HexString Method (data, prefix, suffix)
Library ReferenceLibUsbDotNet.MainHelperHexString(array<Byte>[]()[][], String, String)
LibUsbDotNet on SourceForge
Builds a formatted hexidecimal string from an array of bytes.
Declaration Syntax
C# Visual Basic Visual C++
public static string HexString(
	byte[] data,
	string prefix,
	string suffix
)
Public Shared Function HexString ( _
	data As Byte(), _
	prefix As String, _
	suffix As String _
) As String
public:
static String^ HexString(
	array<unsigned char>^ data, 
	String^ prefix, 
	String^ suffix
)
Parameters
data (array<Byte>[]()[][])
the byte array
prefix (String)
string to place before each byte
suffix (String)
string to place after each byte
Return Value
a formatted hex string

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)