Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/fleece
/ fromData
Method
fromData
Fleece/Tree/HashTree.cc:178–180 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
176
177
178
const HashTree* HashTree::fromData(slice data) {
179
return (const HashTree*)offsetby(data.end(), -(ssize_t)sizeof(Interior));
180
}
181
182
183
const Interior* HashTree::rootNode() const {
Callers
nothing calls this directly
Calls
2
offsetby
Function · 0.85
end
Method · 0.45
Tested by
no test coverage detected