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

Method size

source/core/StarStringView.cpp:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60size_t StringView::size() const {
61 return utf8Length(m_view.data(), m_view.size());
62}
63
64size_t StringView::length() const {
65 return size();

Callers 6

utf8BytesMethod · 0.45
utf8SizeMethod · 0.45
endsWithMethod · 0.45
beginsWithMethod · 0.45
forEachSplitAnyViewMethod · 0.45
forEachSplitViewMethod · 0.45

Calls 2

utf8LengthFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected