Convert a string of UCS2 hex to a string of text.
Parameters
- String of UCS2 hex
Return Value
This API returns a string value.
Exception Handling
If you pass in the incorrect amount of hex, it is possible that the Buffer module can throw an error.
Example
Code Block | ||
---|---|---|
| ||
pjs.define("var5", { type: 'ucs2', length: 26, varying: true, initValue: String.fromUcs2Hex('01230123') });
//var5 = ģģ |