DOFString Constructor (Int16, Int32, Byte)OpenDOF Object Access Library
Create a string value from a byte array.

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

C#
public DOFString(
	short encoding,
	int length,
	byte[] data
)

Parameters

encoding
Type: SystemInt16
The MIB enum from http://www.iana.org/assignments/character-sets.
length
Type: SystemInt32
The character length (not necessarily the length of the array -- depends upon the encoding). This is used for type-checking.
data
Type: SystemByte
The buffer containing encoded data.
Remarks

Create a string value from a byte array.
See Also

Reference