MCPcopy Create free account
hub / github.com/Tencent/phxqueue / Slice2String

Function Slice2String

phxqueue_phxrpc/comm/iniparser.cpp:46–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45
46static string Slice2String(const char *st, const char *ed) {
47 return string(st, ed - st);
48}
49
50static void StrTrim(const string &delimiters, string &str) {
51 auto st = str.find_first_not_of(delimiters);

Callers 1

ParseContentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected