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

Method Deserialize

src/minisketch/src/sketch_impl.h:386–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384 }
385
386 void Deserialize(const unsigned char* ptr) override
387 {
388 BitReader reader(ptr);
389 for (auto& val : m_syndromes) {
390 val = m_field.Deserialize(reader);
391 }
392 }
393
394 int Decode(int max_count, uint64_t* out) const override
395 {

Callers 5

BOOST_AUTO_TEST_CASEFunction · 0.45
FUZZ_TARGETFunction · 0.45
TestExhaustiveFunction · 0.45
TestRandomizedFunction · 0.45
minisketch_deserializeFunction · 0.45

Calls

no outgoing calls

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.36
FUZZ_TARGETFunction · 0.36
TestExhaustiveFunction · 0.36
TestRandomizedFunction · 0.36