folly/folly/detail/base64_detail/Base64Api.h

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#pragma once

#include <type_traits>
#include <folly/Portability.h>
#include <folly/detail/base64_detail/Base64Common.h>
#include <folly/detail/base64_detail/Base64Scalar.h>
#include <folly/portability/Constexpr.h>

namespace folly::detail::base64_detail {

struct Base64RuntimeImpl {};

Base64RuntimeImpl base64EncodeSelectImplementation();

inline const auto& base64RuntimeImpl() {}

inline char* base64EncodeRuntime(
    const char* f, const char* l, char* o) noexcept {}

inline constexpr char* base64Encode(
    const char* f, const char* l, char* o) noexcept {}

inline char* base64URLEncodeRuntime(
    const char* f, const char* l, char* o) noexcept {}

inline constexpr char* base64URLEncode(
    const char* f, const char* l, char* o) noexcept {}

inline Base64DecodeResult base64DecodeRuntime(
    const char* f, const char* l, char* o) noexcept {}

inline constexpr Base64DecodeResult base64Decode(
    const char* f, const char* l, char* o) noexcept {}

inline Base64DecodeResult base64URLDecodeRuntime(
    const char* f, const char* l, char* o) noexcept {}

inline constexpr Base64DecodeResult base64URLDecode(
    const char* f, const char* l, char* o) noexcept {}

} // namespace folly::detail::base64_detail