mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 03:54:12 +08:00
mdbx++: fix minor copy&paste typo.
Change-Id: I0af3e7ffbbd1231069a60f9f48880df3df2141d7
This commit is contained in:
parent
649dd04020
commit
5807e2eda0
2
mdbx.h++
2
mdbx.h++
@ -538,7 +538,7 @@ struct LIBMDBX_API_TYPE slice : public ::MDBX_val {
|
||||
byte *from_base58(byte *dest, size_t dest_size,
|
||||
bool ignore_spaces = false) const;
|
||||
|
||||
/// vReturns the buffer size in bytes needed for conversion
|
||||
/// \brief Returns the buffer size in bytes needed for conversion
|
||||
/// [Base58](https://en.wikipedia.org/wiki/Base58) dump to data.
|
||||
MDBX_CXX11_CONSTEXPR size_t from_base58_bytes() const noexcept {
|
||||
return length() / 11 * 8 + length() % 11 * 32 / 43;
|
||||
|
Loading…
x
Reference in New Issue
Block a user