MCPcopy Create free account
hub / github.com/Snapchat/djinni / DataRefCpp

Method DataRefCpp

support-lib/cpp/DataRef.cpp:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25class DataRefCpp : public DataRef::Impl {
26public:
27 explicit DataRefCpp(size_t len) : _storage(len) {}
28 DataRefCpp(const DataRefCpp&) = delete;
29 explicit DataRefCpp(std::vector<uint8_t>&& vec) : _storage(std::move(vec)) {}
30

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected