Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef GDCMBASE64_H
00015 #define GDCMBASE64_H
00016
00017 #include "gdcmTypes.h"
00018
00019 namespace gdcm
00020 {
00021
00022 class Base64Internals;
00027 class GDCM_EXPORT Base64
00028 {
00029 public:
00030 Base64() {}
00031
00036 static int GetEncodeLength(const char *src, int slen );
00037
00049 static int Encode( char *dst, int dlen,
00050 const char *src, int slen );
00051
00056 static int GetDecodeLength( const char *src, int slen );
00057
00068 static int Decode( char *dst, int dlen,
00069 const char *src, int slen );
00070
00071 private:
00072 Base64(const Base64&);
00073 void operator=(const Base64&);
00074 };
00075 }
00076
00077 #endif //GDCMBASE64_H