summaryrefslogtreecommitdiff
path: root/chromium/components/base32/base32_test_util.h
blob: 35c73c15e0cfe8863b454e2c0ca714199042d749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2019 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.

#ifndef COMPONENTS_BASE32_BASE32_TEST_UTIL_H_
#define COMPONENTS_BASE32_BASE32_TEST_UTIL_H_

#include <string>

#include "base/strings/string_piece.h"

namespace base32 {

// Decodes the |input| string piece from base32.
std::string Base32Decode(base::StringPiece input);

}  // namespace base32

#endif  // COMPONENTS_BASE32_BASE32_TEST_UTIL_H_