// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "util/base64.h" #include <stddef.h> #include <string> #include <utility> #include <vector> #include "third_party/modp_b64/modp_b64.h" #include "util/osp_logging.h" #include "util/std_util.h" namespace openscreen::base64 { std::string Encode(ByteView input) { … } std::string Encode(std::string_view input) { … } bool Decode(std::string_view input, std::vector<uint8_t>* output) { … } } // namespace openscreen::base64