Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
base64.h
Go to the documentation of this file.
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
#include "
odil/odil.h
"
15
16
namespace
odil
17
{
18
19
namespace
base64
20
{
21
23
extern
ODIL_API
std::string
const
symbols
;
24
26
extern
ODIL_API
std::string
const
reversed_symbols
;
27
29
template
<
typename
TInputIterator,
typename
TOutputIterator>
30
void
encode
(
31
TInputIterator begin, TInputIterator end, TOutputIterator destination);
32
34
template
<
typename
TInputIterator,
typename
TOutputIterator>
35
void
decode
(
36
TInputIterator begin, TInputIterator end, TOutputIterator destination);
37
38
}
39
40
}
41
42
#include "odil/base64.txx"
43
44
#endif
// _203e7be8_beaa_4d97_94b2_6a0070f158a1
odil::base64
Definition
base64.h:20
odil::base64::encode
void encode(TInputIterator begin, TInputIterator end, TOutputIterator destination)
Encode a sequence of 8 bits data to Base64.
odil::base64::symbols
std::string const symbols
Dictionary of symbols for Base64.
odil::base64::reversed_symbols
std::string const reversed_symbols
Mapping of ASCII characters to values of Base64 symbols.
odil::base64::decode
void decode(TInputIterator begin, TInputIterator end, TOutputIterator destination)
Decode a sequence of 8 bits data from Base64.
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
src
odil
base64.h
Generated by
1.17.0