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

Method StringSource

src/leveldb/table/table_test.cc:112–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110class StringSource : public RandomAccessFile {
111 public:
112 StringSource(const Slice& contents)
113 : contents_(contents.data(), contents.size()) {}
114
115 ~StringSource() override = default;
116

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected