MCPcopy 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
109ByteArray Buffer::takeData() {
110 ByteArray ret = std::move(m_bytes);
111 reset(0);
112 return ret;
113}
114
115char* Buffer::ptr() {
116 return data().ptr();

Callers 15

sendPacketsMethod · 0.45
netStoreMethod · 0.45
netStoreMethod · 0.45
writeUpdateMethod · 0.45
netStoreMethod · 0.45
netStoreMethod · 0.45
netStoreMethod · 0.45
metadataKeyMethod · 0.45
entitySectorKeyMethod · 0.45
tileSectorKeyMethod · 0.45
writeTileSectorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected