blob: c73f24ed40efa87ca464ebfc7644b3b4357ebc67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "std/vector.hpp"
#include "std/string.hpp"
namespace base64
{
string Encode(string const & bytesToEncode);
string Decode(string const & base64CharsToDecode);
}
/// This namespace contains historically invalid implementation of base64,
/// but it's still needed for production code
namespace base64_for_user_ids
{
string encode(string rawBytes);
string decode(string const & base64Chars);
}
|