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

Method xorWith

source/core/StarByteArray.cpp:218–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218ByteArray ByteArray::xorWith(ByteArray const& rhs, bool extend) {
219 return combineWith([](char a, char b) { return a ^ b; }, rhs, extend);
220}
221
222void ByteArray::insert(size_t pos, char byte) {
223 starAssert(pos <= m_size);

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64