24 #ifndef __IEncodingUtils__ 25 #define __IEncodingUtils__ 27 #include "IPMUnknown.h" 29 #include "UtilitiesID.h" 37 enum { kDefaultIID = IID_IASCIIENCODINGUTILS };
44 kAscii85Encoding = 0x02,
45 kAscii64Encoding = 0x04
54 virtual void Encode( int32 nOptions,
unsigned char* pSrc, int32 nSrcBytes,
PMString& strDst ) = 0;
69 virtual unsigned char*
Decode( int32 nOptions,
const PMString& strSrc, int32& nDstBytes ) = 0;
86 virtual void Encode( int32 nOptions,
IPMStream* sStream, std::string& destString ) = 0;
91 virtual unsigned char*
Decode( int32 nOptions,
const std::string& strSrc, int32& nDstBytes ) = 0;
96 virtual void Decode( int32 nOptions,
const std::string& sourceString,
IPMStream* dStream ) = 0;