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

Method utf8Bytes

source/core/StarString.cpp:115–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115ByteArray String::utf8Bytes() const {
116 return ByteArray(m_string.c_str(), m_string.size());
117}
118
119char const* String::utf8Ptr() const {
120 return m_string.c_str();

Callers 3

connectMethod · 0.45
acceptConnectionMethod · 0.45
openMethod · 0.45

Calls 3

ByteArrayClass · 0.85
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected