Luanti
5.11.0-dev
Loading...
Searching...
No Matches
base64.h
Go to the documentation of this file.
1
/*
2
base64.cpp and base64.h
3
4
Copyright (C) 2004-2008 René Nyffenegger
5
Minor modifications by the Minetest Contributors.
6
7
This source code is provided 'as-is', without any express or implied
8
warranty. In no event will the author be held liable for any damages
9
arising from the use of this software.
10
11
Permission is granted to anyone to use this software for any purpose,
12
including commercial applications, and to alter it and redistribute it
13
freely, subject to the following restrictions:
14
15
1. The origin of this source code must not be misrepresented; you must not
16
claim that you wrote the original source code. If you use this source code
17
in a product, an acknowledgment in the product documentation would be
18
appreciated but is not required.
19
20
2. Altered source versions must be plainly marked as such, and must not be
21
misrepresented as being the original source code.
22
23
3. This notice may not be removed or altered from any source distribution.
24
25
René Nyffenegger rene.nyffenegger@adp-gmbh.ch
26
27
*/
28
29
#pragma once
30
31
#include <string>
32
#include <string_view>
33
34
bool
base64_is_valid
(std::string_view s);
35
std::string
base64_encode
(std::string_view s);
36
std::string
base64_decode
(std::string_view s);
base64_decode
std::string base64_decode(std::string_view s)
Definition
base64.cpp:121
base64_is_valid
bool base64_is_valid(std::string_view s)
Definition
base64.cpp:48
base64_encode
std::string base64_encode(std::string_view s)
Definition
base64.cpp:72
util
base64.h
Generated on Sun Dec 1 2024 10:42:57 for Luanti by
1.11.0