Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ resize
Method
resize
source/core/StarBuffer.cpp:49–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
}
48
49
void Buffer::resize(StreamOffset size) {
50
data().resize((size_t)size);
51
}
52
53
bool Buffer::atEnd() {
54
return m_pos >= m_bytes.size();
Callers
1
doWrite
Method · 0.45
Calls
1
data
Function · 0.85
Tested by
no test coverage detected