Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/djinni
/ dataFromStr
Method
dataFromStr
test-suite/handwritten-src/cpp/data_helpers.cpp:38–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
}
37
38
DataRef dataFromStr() override {
39
std::string buf =
"abcd"
;
40
return DataRef(std::move(buf));
41
}
42
43
std::vector<uint8_t> sendDataView(const DataView& data) override {
44
return {data.buf(), data.buf() + data.len()};
Callers
nothing calls this directly
Calls
1
DataRef
Class · 0.85
Tested by
no test coverage detected