 | CUNCUTF16ValToSTR Method (CGXNETCore, Int32, String, Int32) |
Convert a UTF-16 value to a UTF-8 encoded string.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic static void UTF16ValToSTR(
CGXNETCore gxNetShared,
int ch,
ref string str_val,
int size
)
public static void UTF16ValToSTR(
CGXNETCore gxNetShared,
int ch,
ref string str_val,
int size
)
Public Shared Sub UTF16ValToSTR (
gxNetShared As CGXNETCore,
ch As Integer,
ByRef str_val As String,
size As Integer
)
Public Shared Sub UTF16ValToSTR (
gxNetShared As CGXNETCore,
ch As Integer,
ByRef str_val As String,
size As Integer
)
public:
static void UTF16ValToSTR(
CGXNETCore^ gxNetShared,
int ch,
String^% str_val,
int size
)
public:
static void UTF16ValToSTR(
CGXNETCore^ gxNetShared,
int ch,
String^% str_val,
int size
)
static member UTF16ValToSTR :
gxNetShared : CGXNETCore *
ch : int *
str_val : string byref *
size : int -> unit
static member UTF16ValToSTR :
gxNetShared : CGXNETCore *
ch : int *
str_val : string byref *
size : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - ch
- Type: SystemInt32
UTF-16 value (32-bit int, lower 16 bits used, upper bits reserved for future use) - str_val
- Type: SystemString
Converted string - size
- Type: SystemInt32
<define>UTF8</define> Size of string.
RemarksAn empty string will be returned for invalid symbols
See Also