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

Method buf

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

Source from the content-addressed store, hash-verified

29 explicit DataRefCpp(std::vector<uint8_t>&& vec) : _storage(std::move(vec)) {}
30
31 const uint8_t* buf() const override {
32 return _storage.data();
33 }
34 size_t len() const override {
35 return _storage.size();
36 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected