MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / appendByte

Method appendByte

source/core/StarByteArray.hpp:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144inline void ByteArray::appendByte(char b) {
145 resize(m_size + 1);
146 m_data[m_size - 1] = b;
147}
148
149inline bool ByteArray::empty() const {
150 return m_size == 0;

Callers 1

openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected