Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ takeData
Method
takeData
source/core/StarBuffer.cpp:109–113 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
107
}
108
109
ByteArray Buffer::takeData() {
110
ByteArray ret = std::move(m_bytes);
111
reset(0);
112
return ret;
113
}
114
115
char* Buffer::ptr() {
116
return data().ptr();
Callers
15
sendPackets
Method · 0.45
netStore
Method · 0.45
netStore
Method · 0.45
writeUpdate
Method · 0.45
netStore
Method · 0.45
netStoreVisitableWorldParameters
Function · 0.45
netStore
Method · 0.45
netStore
Method · 0.45
metadataKey
Method · 0.45
entitySectorKey
Method · 0.45
tileSectorKey
Method · 0.45
writeTileSector
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected