aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Common/Base58.h
blob: dcbe3dcb03a5fecae632e3196dd9589fec5ae2bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);

}