MCPcopy 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
130inline void ByteArray::resize(size_t size) {
131 reserve(size);
132 m_size = size;
133}
134
135inline void ByteArray::append(ByteArray const& b) {
136 append(b.ptr(), b.size());

Callers 1

combineWithMethod · 0.45

Calls 1

reserveFunction · 0.85

Tested by

no test coverage detected