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

Method GetPos

src/streams.h:673–675  ·  view source on GitHub ↗

return the current reading position

Source from the content-addressed store, hash-verified

671
672 //! return the current reading position
673 uint64_t GetPos() const {
674 return m_read_pos;
675 }
676
677 //! rewind to a given reading position
678 bool SetPos(uint64_t nPos) {

Callers 3

LoadExternalBlockFileMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80

Calls

no outgoing calls

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64