Mobile API Reference  MicroStrategy 2019
HexEncoder.h
Go to the documentation of this file.
1 //==============================================================================================
2 // FILENAME : HexEncoder.h
3 // AUTHOR : Yuan Ding
4 // CREATION : 11/16/2001
5 // Copyright (C) MicroStrategy Incorporated 1999
6 // All Rights Reserved
7 //==============================================================================================
8 
9 #ifndef MEncryptor_HexEncoder_h
10 #define MEncryptor_HexEncoder_h
11 
14 #include "Base/Base/ReturnString.h"
15 
16 namespace MDataType {
17  class Binary;
18 }
19 
20 namespace MEncryptor {
21 
23 
27 
37  unsigned Int32 inVersion,
38  bool ibReverseHighLow = false,
39  bool ibUpperCase = true);
40 
42 
49  bool ibReverseHighLow = false);
50 
52 
60  bool ibReverseHighLow = false,
61  bool ibUpperCase = true);
62 
64 
71  bool ibReverseHighLow = false);
72 
74 
77  DLL_ENCRYPTOR_EXIM unsigned Int32 GetVersion(const WCHAR* ipcEncodedData);
78 
80  unsigned Int32 inVersion);
81 
83 
84 }//namespace
85 
86 #endif //MEncryptor_HexEncoder_h
wchar_t WCHAR
Definition: PDCwchar.h:23
MDataType::Binary represents binary data.
Definition: Binary.h:33
Definition: EncryptorDecryptor.h:22
DLL_ENCRYPTOR_EXIM MBase::ReturnWString HexEncodeWithSignature(const MDataType::Binary *ipcData, unsigned Int32 inVersion, bool ibReverseHighLow=false, bool ibUpperCase=true)
HexEncoder contains functions that perform conversion between binary data and its Hex representation...
DLL_ENCRYPTOR_EXIM MDataType::Binary * AddHeader(const MDataType::Binary *ipcData, unsigned Int32 inVersion)
Definition: ReturnString.h:85
Definition: BigDecimal.h:18
DLL_ENCRYPTOR_EXIM unsigned Int32 GetVersion(const WCHAR *ipcEncodedData)
Retrieve the version from the given encoded data (encoded with HexEncodeWithSignature) ...
#define Int32
Definition: BasicTypes.h:20
#define DLL_ENCRYPTOR_EXIM
M8Encryp2.Dll export definition.
Definition: Encryptor.h:22
DLL_ENCRYPTOR_EXIM MDataType::Binary * HexDecode(const WCHAR *ipcData, bool ibReverseHighLow=false)
Decode the string encoded with HexEncode.
DLL_ENCRYPTOR_EXIM MDataType::Binary * HexDecodeWithSignature(const WCHAR *ipcData, bool ibReverseHighLow=false)
Decode the string encoded with HexEncodeWithSignature.
DLL_ENCRYPTOR_EXIM MDataType::Binary * RemoveHeader(const MDataType::Binary *ipcData)
DLL_ENCRYPTOR_EXIM MBase::ReturnWString HexEncode(const MDataType::Binary *ipcData, bool ibReverseHighLow=false, bool ibUpperCase=true)
Encode the given binary data into its Hex representation (without signature).