mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
aa7e62ad5f
- makes it consistent with tryBase64Decode(), follow-up to #39292 - additionally the following minor changes: - rename Common/base58.h|cpp to Common/Base58.h|cpp for constency with Common/Base64.h|cpp - check that (encode|decode|tryDecode)Base64() gets just one argument
14 lines
238 B
C++
14 lines
238 B
C++
#pragma once
|
|
|
|
#include <base/types.h>
|
|
#include <optional>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
size_t encodeBase58(const UInt8 * src, size_t src_length, UInt8 * dst);
|
|
std::optional<size_t> decodeBase58(const UInt8 * src, size_t src_length, UInt8 * dst);
|
|
|
|
}
|