MCPcopy 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
49void Buffer::resize(StreamOffset size) {
50 data().resize((size_t)size);
51}
52
53bool Buffer::atEnd() {
54 return m_pos >= m_bytes.size();

Callers 1

doWriteMethod · 0.45

Calls 1

dataFunction · 0.85

Tested by

no test coverage detected