Decode a base58-encoded string (str) into a byte vector (vchRet). return true if decoding is successful.
Declared in <base58.h>
[[nodiscard]]
bool
DecodeBase58(
std::string const& str,
std::vector<unsigned char>& vchRet,
int max_ret_len);
| Name | Description |
|---|---|
| str | The base58-encoded string to decode. |
| vchRet | Output vector that receives the decoded bytes. |
| max_ret_len | Maximum number of decoded bytes to accept. |