DOFUtilhexStringToBytes Method OpenDOF Object Access Library
Convert a hexadecimal String to a byte array.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static byte[] hexStringToBytes(
	string value
)

Parameters

value
Type: SystemString
The hexadecimal String to convert. Cannot be null and must only contain hex-characters.

Return Value

Type: Byte
The numeric form of the hexadecimal String.
Remarks

Convert a hexadecimal String to a byte array. Each two hex-characters represents one byte of data.
See Also

Reference