TIBCO Adapter SDK C++ Reference
MChar::wdata
MChar
Retrieve the data encapsulated by this MChar as a 16-bit string.
Remarks
Retrieving data by calling data() or wdata() can potentially be an expensive operation. The SDK stores data in one of two formats internally. If you pass in a string in a different format (e.g. M_JIS) it is converted to the appropriate internal SDK format, e.g. M_UTF16. If you later request the data as M_JIS, they are converted again.
Parameters
Parameters Description
char const * typeToGet = NULL Must be one of the encodings listed below or in MEncoding.h.
unsigned int * pNumValidBytes = NULL Number of Bytes. The SDK supports a large number of encoding types for char* character values. For a complete list, see the header file MEncoding.h. Here’s a list of the
types  
Declaration
virtual UChar const * wdata(char const * typeToGet = NULL, unsigned int * pNumValidBytes = NULL) const;
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.