Return the positions of errors in a Bech32 string.
Declared in <bech32.h>
std::pair<std::string, std::vector<int>>
LocateErrors(
std::string const& str,
CharLimit limit = CharLimit::BECH32);
A pair of an error message and the positions of the detected errors.
| Name | Description |
|---|---|
| str | The string to inspect. |
| limit | The maximum accepted string length. |