MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / LowerCase

Function LowerCase

src/bech32.cpp:97–100  ·  view source on GitHub ↗

Convert to lower case. */

Source from the content-addressed store, hash-verified

95
96/** Convert to lower case. */
97inline unsigned char LowerCase(unsigned char c)
98{
99 return (c >= 'A' && c <= 'Z') ? (c - 'A') + 'a' : c;
100}
101
102/** Expand a HRP for use in checksum computation. */
103data ExpandHRP(const std::string& hrp)

Callers 1

DecodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected