MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / size

Method size

source/core/StarString.cpp:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150size_t String::size() const {
151 return utf8Length(m_string.c_str(), m_string.size());
152}
153
154size_t String::length() const {
155 return size();

Callers 12

joinWithMethod · 0.45
utf8BytesMethod · 0.45
utf8SizeMethod · 0.45
wideStringMethod · 0.45
endsWithMethod · 0.45
beginsWithMethod · 0.45
splitMethod · 0.45
splitAnyMethod · 0.45
extractMethod · 0.45
rextractMethod · 0.45
replaceMethod · 0.45
eraseMethod · 0.45

Calls 2

utf8LengthFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected