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

Function LowerCase

src/blech32.cpp:122–125  ·  view source on GitHub ↗

Convert to lower case. */

Source from the content-addressed store, hash-verified

120
121/** Convert to lower case. */
122inline unsigned char LowerCase(unsigned char c)
123{
124 return (c >= 'A' && c <= 'Z') ? (c - 'A') + 'a' : c;
125}
126
127/** Expand a HRP for use in checksum computation. */
128data ExpandHRP(const std::string& hrp)

Callers 1

DecodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected