MCPcopy Create free account
hub / github.com/FastLED/FastLED / toLower

Function toLower

src/fl/stl/asio/http/http_parser.cpp.hpp:15–21  ·  view source on GitHub ↗

Helper: Convert string to lowercase

Source from the content-addressed store, hash-verified

13
14// Helper: Convert string to lowercase
15fl::string toLower(const fl::string& str) {
16 fl::string result = str;
17 for (size_t i = 0; i < result.size(); i++) {
18 result[i] = fl::tolower(result[i]);
19 }
20 return result;
21}
22
23// Helper: Trim whitespace from string
24fl::string http_parser_trim(const fl::string& str) {

Callers 2

feedMethod · 0.85
getHeaderMethod · 0.85

Calls 2

tolowerFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected