Create a new DOFValue to hold a single value of type Fixed-Encoding String.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFValue_Destroy.
- Parameters
-
encoding | The MIBenum value, a unique value identifying a specific coded character set used by val. This should be > 2. |
strLength | The number of characters in val (used only for type compatibility). This should be >= bufferSize. This may be 0 to disable string length checking for this value. |
bufferSize | The number of data bytes in the buffer val. |
val | The Fixed-Encoding String value to be held by the new DOFValue. This must not be NULL if bufferSize > 0. |
- Returns
- The new DOFValue, representing a single value of type Fixed-Encoding String.
- Exceptions
-
NULL | is returned if the resulting DOFValue could not be created, or an invalid parameter was detected. |