Click or drag to resize

StringExtension.HexStringToBytes Method

Converts a specified hexadecimal string to byte array.

Namespace:  com.gigatms.Extensions
Assembly:  GIGATMS.UHF (in GIGATMS.UHF.dll) Version: 2.16.9.0 (2.16.9.0)
Syntax
public static byte[] HexStringToBytes(
	this string hexString
)

Parameters

hexString
Type: System.String
The hexadecimal string.

Return Value

Type:Byte[]
The byte array.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also