mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-17 20:10:03 +02:00
include/libeosio/base58.hpp: adding base58_decode functions.
This commit is contained in:
parent
a43b913277
commit
ed59959b5b
4 changed files with 136 additions and 0 deletions
|
|
@ -36,6 +36,13 @@ std::string base58_encode(const std::string& str);
|
|||
std::string base58_encode(const std::vector<unsigned char>& vch);
|
||||
std::string base58_encode(const unsigned char* pbegin, const unsigned char* pend);
|
||||
|
||||
|
||||
/**
|
||||
* Base58 Decoding functions.
|
||||
*/
|
||||
bool base58_decode(const char* psz, std::string& out);
|
||||
bool base58_decode(const std::string& str, std::string& out);
|
||||
|
||||
/**
|
||||
* Returns true if `ch` is a base58 character, false otherwise.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue