KASKADE 7 development version
io
base64.hh
Go to the documentation of this file.
1
#ifndef BASE64_HH
2
#define BASE64_HH
3
/*
4
base64.cpp and base64.h
5
6
Copyright (C) 2004-2008 Rene' Nyffenegger
7
8
This source code is provided 'as-is', without any express or implied
9
warranty. In no event will the author be held liable for any damages
10
arising from the use of this software.
11
12
Permission is granted to anyone to use this software for any purpose,
13
including commercial applications, and to alter it and redistribute it
14
freely, subject to the following restrictions:
15
16
1. The origin of this source code must not be misrepresented; you must not
17
claim that you wrote the original source code. If you use this source code
18
in a product, an acknowledgment in the product documentation would be
19
appreciated but is not required.
20
21
2. Altered source versions must be plainly marked as such, and must not be
22
misrepresented as being the original source code.
23
24
3. This notice may not be removed or altered from any source distribution.
25
26
Rene' Nyffenegger rene.nyffenegger@adp-gmbh.ch
27
28
*/
29
30
31
// modifications to the source:
32
// namespace added and unneeded functions removed
33
// separated into header and implementation files
34
35
//#include "base64.h"
36
#include <iostream>
37
38
namespace
base64
{
39
std::string
base64_encode
(
unsigned
char
const
* bytes_to_encode,
unsigned
int
in_len);
40
}
//namespace base64
41
#endif
base64
Definition:
base64.hh:38
base64::base64_encode
std::string base64_encode(unsigned char const *bytes_to_encode, unsigned int in_len)
Generated on Fri Sep 6 2024 13:13:00 for KASKADE 7 development version by
1.9.4