GDCM  2.4.5
gdcmBase64.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef GDCMBASE64_H
15 #define GDCMBASE64_H
16 
17 #include "gdcmTypes.h"
18 
19 namespace gdcm
20 {
26 {
27 public:
28 
32  static size_t GetEncodeLength(const char *src, size_t srclen );
33 
45  static size_t Encode( char *dst, size_t dlen, const char *src, size_t slen );
46 
50  static size_t GetDecodeLength( const char *src, size_t len );
51 
62  static size_t Decode( char *dst, size_t dlen, const char *src, size_t slen );
63 
64 private:
65  Base64(const Base64&); // Not implemented.
66  void operator=(const Base64&); // Not implemented.
67 };
68 
69 } // end namespace gdcm
70 
71 #endif // GDCMBASE64_H
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Definition: gdcmASN1.h:20
Class for Base64.
Definition: gdcmBase64.h:25

Generated on Fri Sep 25 2015 17:58:22 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo