MCPcopy Create free account
hub / github.com/BambooTracker/BambooTracker / append

Method append

BambooTracker/io/binary_container.cpp:262–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void BinaryContainer::append(const std::vector<uint8_t>&& a)
263{
264 if (isLE_)
265 std::copy(a.cbegin(), a.cend(), std::back_inserter(buf_));
266 else
267 std::reverse_copy(a.cbegin(), a.cend(), std::back_inserter(buf_));
268}
269
270void BinaryContainer::write(size_t offset, const std::vector<uint8_t>&& a)
271{

Callers 1

Calls 2

cbeginMethod · 0.45
cendMethod · 0.45

Tested by

no test coverage detected