odil
base64.h
1 /*************************************************************************
2  * odil - Copyright (C) Universite de Strasbourg
3  * Distributed under the terms of the CeCILL-B license, as published by
4  * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5  * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6  * for details.
7  ************************************************************************/
8 
9 #ifndef _203e7be8_beaa_4d97_94b2_6a0070f158a1
10 #define _203e7be8_beaa_4d97_94b2_6a0070f158a1
11 
12 #include <string>
13 
14 namespace odil
15 {
16 
17 namespace base64
18 {
19 
21 extern std::string const symbols;
22 
24 extern std::string const reversed_symbols;
25 
27 template<typename TInputIterator, typename TOutputIterator>
28 void encode(
29  TInputIterator begin, TInputIterator end, TOutputIterator destination);
30 
32 template<typename TInputIterator, typename TOutputIterator>
33 void decode(
34  TInputIterator begin, TInputIterator end, TOutputIterator destination);
35 
36 }
37 
38 }
39 
40 #include "odil/base64.txx"
41 
42 #endif // _203e7be8_beaa_4d97_94b2_6a0070f158a1
Definition: Association.cpp:39