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

Method utf8Bytes

source/core/StarStringView.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40ByteArray StringView::utf8Bytes() const {
41 return ByteArray(m_view.data(), m_view.size());
42}
43
44char const* StringView::utf8Ptr() const {
45 return m_view.data();

Callers

nothing calls this directly

Calls 3

ByteArrayClass · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected