MCPcopy Create free account
hub / github.com/acl-dev/acl / substr

Method substr

lib_acl_cpp/src/stdlib/string.cpp:1790–1802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1788}
1789
1790size_t string::substr(string& out, size_t p /* = 0 */, size_t len /* = 0 */) const
1791{
1792 size_t n = LEN(vbf_);
1793 if (p >= n) {
1794 return 0;
1795 }
1796 n -= p;
1797 if (len == 0 || len > n) {
1798 len = n;
1799 }
1800 out.append(STR(vbf_) + p, len);
1801 return n;
1802}
1803
1804string& string::base64_encode()
1805{

Callers 15

mainFunction · 0.80
mainFunction · 0.80
gen_pack_codeMethod · 0.80
check_use_namespaceMethod · 0.80
check_namespaceMethod · 0.80
check_struct_beginMethod · 0.80
check_includeMethod · 0.80
check_commentMethod · 0.80
check_functionMethod · 0.80
check_memberMethod · 0.80
parse_codeMethod · 0.80
get_filename_without_extFunction · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected