Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ resize
Method
resize
source/core/StarByteArray.hpp:130–133 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
128
}
129
130
inline void ByteArray::resize(size_t size) {
131
reserve(size);
132
m_size = size;
133
}
134
135
inline void ByteArray::append(ByteArray const& b) {
136
append(b.ptr(), b.size());
Callers
1
combineWith
Method · 0.45
Calls
1
reserve
Function · 0.85
Tested by
no test coverage detected