MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / createVector

Function createVector

lib/core/bytes.cc:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <zlib.h>
5
6static std::shared_ptr<std::vector<uint8_t>> createVector(unsigned size)
7{
8 return std::make_shared<std::vector<uint8_t>>(size);
9}
10
11static std::shared_ptr<std::vector<uint8_t>> createVector(
12 const uint8_t* ptr, unsigned size)

Callers 2

BytesMethod · 0.85
checkWritableMethod · 0.85

Calls 3

beginMethod · 0.45
sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected