OpenDOF Project
DOFType DOFValueStringType_Create ( uint16  encoding,
uint32  length 
)

Create a new String Type.

All string types must include an encoding.

Resource Management:
This function allocates resources that must later be freed by calling DOFType_Destroy.
Parameters
encodingThe MIBenum value, a unique value identifying a specific coded character set used by all strings in val. This should be > 2. Example: DOFVALUESTRING_US_ASCII.
lengthMaximum string length, in characters (not necessarily byte size).
Returns
The new DOFType, or NULL if it could not be created.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22