MCPcopy Create free account
hub / github.com/Niko1221/Strata / put_vec

Method put_vec

engine/src/split/src/model.cpp:1637–1640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1635 at += sizeof v;
1636 }
1637 template <typename T> void put_vec(const std::vector<T>& v) {
1638 put((uint64_t) v.size());
1639 s.append((const char*) v.data(), v.size() * sizeof(T));
1640 }
1641 template <typename T> void get_vec(std::vector<T>& v) {
1642 uint64_t n = 0;
1643 get(n);

Callers 1

imageMethod · 0.80

Calls 4

putFunction · 0.50
sizeMethod · 0.45
appendMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected