README: Document strlen behaviour of b58tobin

This commit is contained in:
Luke Dashjr
2014-08-18 14:58:27 +00:00
parent 9dc2bf2f6a
commit 1e56deac4c

2
README
View File

@@ -16,6 +16,8 @@ Decoding Base58
Simply allocate a buffer to store the binary data in, and call the b58tobin Simply allocate a buffer to store the binary data in, and call the b58tobin
function: function:
bool b58tobin(void *bin, size_t binsz, const char *b58, size_t b58sz) bool b58tobin(void *bin, size_t binsz, const char *b58, size_t b58sz)
If b58sz is zero, it will be initialised with strlen(b58); note that a true
zero-length base58 string is not supported here.
Validating Base58Check Validating Base58Check