MCPcopy Create free account
hub / github.com/ElementsProject/elements / ToString

Function ToString

src/leveldb/include/leveldb/slice.h:76–76  ·  view source on GitHub ↗

Return a string that contains the copy of the referenced data.

Source from the content-addressed store, hash-verified

74
75 // Return a string that contains the copy of the referenced data.
76 std::string ToString() const { return std::string(data_, size_); }
77
78 // Three-way comparison. Returns value:
79 // < 0 iff "*this" < "b",

Callers 3

TestForwardScanMethod · 0.50
TestBackwardScanMethod · 0.50
TestRandomAccessMethod · 0.50

Calls

no outgoing calls

Tested by 3

TestForwardScanMethod · 0.40
TestBackwardScanMethod · 0.40
TestRandomAccessMethod · 0.40