Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
ByteArray StringView::utf8Bytes() const {
41
return ByteArray(m_view.data(), m_view.size());
42
}
43
44
char const* StringView::utf8Ptr() const {
45
return m_view.data();
Callers
nothing calls this directly
Calls
3
ByteArray
Class · 0.85
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected