Orcus
include
orcus
base64.hpp
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
*/
7
8
#ifndef __ORCUS_BASE64_HPP__
9
#define __ORCUS_BASE64_HPP__
10
11
#include "env.hpp"
12
#include <cstdint>
13
#include <vector>
14
#include <string>
15
16
namespace
orcus {
17
24
ORCUS_PSR_DLLPUBLIC std::vector<uint8_t> decode_from_base64(std::string_view base64);
25
32
ORCUS_PSR_DLLPUBLIC std::string encode_to_base64(
const
std::vector<uint8_t>& input);
33
34
}
35
36
#endif
37
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Thu Jan 25 2024 00:00:00 for Orcus by
1.9.4