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)
Syntaxpublic static byte[] HexStringToBytes(
this string hexString
)
<ExtensionAttribute>
Public Shared Function HexStringToBytes (
hexString As String
) As Byte()
public:
[ExtensionAttribute]
static array<unsigned char>^ HexStringToBytes(
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