[#bech32-CharLimit] = xref:bech32.adoc[bech32]::CharLimit :relfileprefix: ../ :mrdocs: Character limits for Bech32(m) encoded strings. Character limits are how we provide error location guarantees. These values should never exceed 2ˆ31 ‐ 1 (max value for a 32‐bit int), since there are places where we may need to convert the CharLimit::VALUE to an int. In practice, this should never happen since this CharLimit applies to an address encoding and we would never encode an address with such a massive value == Synopsis Declared in `<bech32.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum CharLimit : size_t; ---- == Members [cols="1,4"] |=== | Name| Description | `BECH32` | BIP173/350 imposed character limit for Bech32(m) encoded addresses. This guarantees finding up to 4 errors. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#