Converts an ASCII hex string encoding of binary data to its corresponding array of bytes.
This provides equivalent functionality to the PHP Pack('H') method.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static byte[] PackH(
string hex
)
Public Shared Function PackH (
hex As String
) As Byte()
Parameters
- hex
- Type: SystemString
The hex string to convert.
Return Value
Type:
ByteThe corresponding binary data.
See Also