Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
115
ByteArray String::utf8Bytes() const {
116
return ByteArray(m_string.c_str(), m_string.size());
117
}
118
119
char const* String::utf8Ptr() const {
120
return m_string.c_str();
Callers
3
connect
Method · 0.45
acceptConnection
Method · 0.45
open
Method · 0.45
Calls
3
ByteArray
Class · 0.85
c_str
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected