TIBCO Adapter SDK C++ Reference
MStringData::data
MStringData
Retrieve the data encapsulated by this MStringData using best-case conversion if required.
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, (for example, M_JIS) it is converted to the appropriate internal SDK format (for example, M_UTF16). If you later request the data as M_JIS, they are converted again.
Parameters
Parameters Description
char const * type = NULL The type of Unicode encoding used for conversion.
unsigned int * pNumValidBytes = NULL This parameter is for internal use only by the SDK.
Declaration
const char* data(char const * type = NULL, unsigned int * pNumValidBytes = NULL) const;
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.