// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "quiche/common/quiche_text_utils.h" #include <algorithm> #include <optional> #include <string> #include "absl/strings/escaping.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" namespace quiche { // static void QuicheTextUtils::Base64Encode(const uint8_t* data, size_t data_len, std::string* output) { … } // static std::optional<std::string> QuicheTextUtils::Base64Decode( absl::string_view input) { … } // static std::string QuicheTextUtils::HexDump(absl::string_view binary_data) { … } } // namespace quiche