• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2023 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef BSSL_FILLINS_BASE64_H
6 #define BSSL_FILLINS_BASE64_H
7 
8 #include <openssl/base.h>
9 
10 #include <string>
11 #include <string_view>
12 
13 namespace bssl {
14 
15 namespace fillins {
16 
17 OPENSSL_EXPORT bool Base64Encode(const std::string_view &input,
18                                  std::string *output);
19 
20 OPENSSL_EXPORT bool Base64Decode(const std::string_view &input,
21                                  std::string *output);
22 
23 }  // namespace fillins
24 
25 }  // namespace bssl
26 
27 #endif  // BSSL_FILLINS_BASE64_H
28