MCPcopy Create free account
hub / github.com/ElementsProject/elements / LowerCase

Function LowerCase

src/bech32.cpp:278–281  ·  view source on GitHub ↗

Convert to lower case. */

Source from the content-addressed store, hash-verified

276
277/** Convert to lower case. */
278inline unsigned char LowerCase(unsigned char c)
279{
280 return (c >= 'A' && c <= 'Z') ? (c - 'A') + 'a' : c;
281}
282
283/** Return indices of invalid characters in a Bech32 string. */
284bool CheckCharacters(const std::string& str, std::vector<int>& errors)

Callers 2

DecodeFunction · 0.70
LocateErrorsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected