SPUtility.HexStringToByteArray method
SharePoint 2013
Converts a hex string like "0x1234abcd" to the byte array that it represents.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableIncludeInternalMemberAttribute] public static byte[] HexStringToByteArray( string hexValue )
Parameters
- hexValue
- Type: System.String
The hex string to be converted.
Return value
Type: []A byte array containing the binary representation of [hexValue].