DOFUtilbytesToHexString Method (Byte, Int32, Int32)OpenDOF Object Access Library
Convert a byte array of data to its hexadecimal String representation.

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

C#
public static string bytesToHexString(
	byte[] data,
	int offset,
	int length
)

Parameters

data
Type: SystemByte
The data to convert. Cannot be null.
offset
Type: SystemInt32
The offset into the array where the conversion should start.
length
Type: SystemInt32
The number of bytes to convert to hexadecimal format. The length cannot be greater than data.length - offset.

Return Value

Type: String
The hexadecimal String representation of a byte array of data.
Remarks

Convert a byte array of data to its hexadecimal String representation.
See Also

Reference