Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Control
CxxUtils
CxxUtils
base64.h
Go to the documentation of this file.
1
/*
2
base64.cpp and base64.h
3
base64 encoding and decoding with C++.
4
5
Original: (C) 2004-2017 Rene Nyffenegger
6
Adapted by: Michal Lihocky (https://stackoverflow.com/a/13935718/8372556)
7
further adapted by: Constantin Heidegger
8
9
---------
10
11
base64.cpp and base64.h
12
13
base64 encoding and decoding with C++.
14
15
Version: 1.01.00
16
17
Copyright (C) 2004-2017 Rene Nyffenegger
18
19
This source code is provided 'as-is', without any express or implied
20
warranty. In no event will the author be held liable for any damages
21
arising from the use of this software.
22
23
Permission is granted to anyone to use this software for any purpose,
24
including commercial applications, and to alter it and redistribute it
25
freely, subject to the following restrictions:
26
27
1. The origin of this source code must not be misrepresented; you must not
28
claim that you wrote the original source code. If you use this source code
29
in a product, an acknowledgment in the product documentation would be
30
appreciated but is not required.
31
32
2. Altered source versions must be plainly marked as such, and must not be
33
misrepresented as being the original source code.
34
35
3. This notice may not be removed or altered from any source distribution.
36
37
Rene Nyffenegger rene.nyffenegger@adp-gmbh.ch
38
39
*/
40
41
#ifndef BASE64_H
42
#define BASE64_H
43
44
#include <string>
45
#include <vector>
46
47
namespace
CxxUtils
{
48
49
std::string
base64_encode
(
const
unsigned
char
*,
unsigned
int
);
50
std::vector<unsigned char>
base64_decode
(
const
std::string&);
51
52
}
53
54
#endif
/* BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A */
CxxUtils::base64_decode
std::vector< unsigned char > base64_decode(const std::string &)
Definition:
base64.cxx:97
CxxUtils
Definition:
aligned_vector.h:29
CxxUtils::base64_encode
std::string base64_encode(const unsigned char *, unsigned int)
Definition:
base64.cxx:55
Generated on Thu Mar 13 2025 21:07:35 for ATLAS Offline Software by
1.8.18