Click or drag to resize

HexEncodingGetBytes Method

Creates a byte array from the hexadecimal string. Each two characters are combined to create one byte. First two hexadecimal characters become first byte in returned array. Non-hexadecimal characters are ignored.

Namespace: KMotion_dotNet
Assembly: KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static byte[] GetBytes(
	string hexString,
	out int discarded
)

Parameters

hexString  String
string to convert to byte array
discarded  Int32
number of characters in string ignored

Return Value

Byte
byte array, in the same left-to-right order as the hexString
See Also