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

Method vec

engine/src/core/conversation_file.cpp:646–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644 void u64(uint64_t v) { raw(&v, 8); }
645 void i64(int64_t v) { raw(&v, 8); }
646 template<class T> void vec(const std::vector<T>& v) { u64(v.size()); raw(v.data(), v.size() * sizeof(T)); }
647 void buffer(const ConversationBuffer& b) {
648 u64(b.size());
649 b.visit(0, b.size(), [&](const uint8_t* p, size_t c, size_t) { raw(p, c); return ok; });

Callers

nothing calls this directly

Calls 4

u64Function · 0.50
rawFunction · 0.50
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected