gdcmBase64.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __gdcmBase64_h
00016 #define __gdcmBase64_h
00017
00018 #include "gdcmTypes.h"
00019
00020 namespace gdcm
00021 {
00022
00023 class Base64Internals;
00028 class GDCM_EXPORT Base64
00029 {
00030 public :
00031 Base64();
00032 ~Base64();
00033
00038 static int GetEncodeLength(const char *src, int slen );
00039
00051 static int Encode( char *dst, int dlen,
00052 const char *src, int slen );
00053
00058 static int GetDecodeLength( const char *src, int slen );
00059
00073 static int Decode( char *dst, int dlen,
00074 const char *src, int slen );
00075
00076 private:
00077 Base64Internals *Internals;
00078 private:
00079 Base64(const Base64&);
00080 void operator=(const Base64&);
00081 };
00082 }
00083
00084 #endif //__gdcmBase64_h