Mobile API Reference  MicroStrategy 2019
WCharConverter.h
Go to the documentation of this file.
1 //==============================================================================================
2 // FILENAME : WCharConverter.h
3 // AUTHOR : Yuan Ding
4 // CREATION : 06/20/2002
5 // Copyright (C) MicroStrategy Incorporated 1999
6 // All Rights Reserved
7 //==============================================================================================
8 
9 #ifndef MEncryptor_WCharConverter_h
10 #define MEncryptor_WCharConverter_h
11 
12 namespace MDataType {
13  class Binary;
14 }
15 
16 namespace MEncryptor {
17 
22 {
23 public:
25 
28  static MDataType::Binary* Four2Two(const WCHAR* ipcWCBuf);
29 
31 
34  static WCHAR* Two2Four(const MDataType::Binary* ipcBuf);
35 };
36 
37 } // namespace
38 
39 #endif //MEncryptor_WCharConverter_h
wchar_t WCHAR
Definition: PDCwchar.h:23
MDataType::Binary represents binary data.
Definition: Binary.h:33
Definition: EncryptorDecryptor.h:22
Definition: BigDecimal.h:18
Definition: WCharConverter.h:21
static MDataType::Binary * Four2Two(const WCHAR *ipcWCBuf)
Convert wchar_t string from 4 bytes to 2 bytes.
static WCHAR * Two2Four(const MDataType::Binary *ipcBuf)
Convert wchar_t string from 2 bytes to 4 bytes.