BASS.NET API for the Un4seen BASS Audio LibraryUtilsHexToByte Method BASS.NET API for the Un4seen BASS Audio Library
Converts a hex string to a byte array.

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static byte[] HexToByte(
	string hexString,
	int length
)

Parameters

hexString
Type: SystemString
The hex string to convert in the format 'XX XX XX... XX'.
length
Type: SystemInt32
The length of the resulting string (use -1 to convert all).

Return Value

Type: Byte
The converted byte array.
Remarks

If length specifies more elements than contained in the hexString the resulting byte array will be padded by zeros.
See Also

Reference