20 lines
421 B
C++
20 lines
421 B
C++
// sherpa-onnx/csrc/base64-decode.h
|
|
//
|
|
// Copyright (c) 2022-2023 Xiaomi Corporation
|
|
|
|
#ifndef SHERPA_ONNX_CSRC_BASE64_DECODE_H_
|
|
#define SHERPA_ONNX_CSRC_BASE64_DECODE_H_
|
|
|
|
#include <string>
|
|
|
|
namespace sherpa_onnx {
|
|
|
|
/** @param s A base64 encoded string.
|
|
* @return Return the decoded string.
|
|
*/
|
|
std::string Base64Decode(const std::string &s);
|
|
|
|
} // namespace sherpa_onnx
|
|
|
|
#endif // SHERPA_ONNX_CSRC_BASE64_DECODE_H_
|