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

Method SetCount

src/leveldb/db/write_batch.cc:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void WriteBatchInternal::SetCount(WriteBatch* b, int n) {
87 EncodeFixed32(&b->rep_[8], n);
88}
89
90SequenceNumber WriteBatchInternal::Sequence(const WriteBatch* b) {
91 return SequenceNumber(DecodeFixed64(b->rep_.data()));

Callers

nothing calls this directly

Calls 1

EncodeFixed32Function · 0.85

Tested by

no test coverage detected