Cryptolens Client API for C++
base64.hpp
1 #pragma once
2 
3 #include <string>
4 
5 #include "imports/std/optional"
6 
7 namespace cryptolens_io {
8 
9 namespace v20190401 {
10 
11 namespace internal {
12 
13 // Internal functions used by the library for dealing with messages
14 // encoded with base64.
15 
16 int
17 b64_pton(char const *src, unsigned char *target, size_t targsize);
18 
19 optional<std::string>
20 b64_decode(std::string const& b64);
21 
22 } // namespace internal
23 
24 } // namespace v20190401
25 
26 } // namespace cryptolens_io
Definition: ActivateError.hpp:5