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

Method sendData

test-suite/handwritten-src/cpp/data_helpers.cpp:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 DataRef _data;
10public:
11 void sendData(const DataRef& data) override {
12 _data = data;
13 }
14
15 std::vector<uint8_t> retriveAsBin() override {
16 return {_data.buf(), _data.buf() + _data.len()};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected