MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SetLimit

Method SetLimit

src/streams.h:682–687  ·  view source on GitHub ↗

prevent reading beyond a certain position no argument removes the limit

Source from the content-addressed store, hash-verified

680 // prevent reading beyond a certain position
681 // no argument removes the limit
682 bool SetLimit(uint64_t nPos = (uint64_t)(-1)) {
683 if (nPos < nReadPos)
684 return false;
685 nReadLimit = nPos;
686 return true;
687 }
688
689 template<typename T>
690 CBufferedFile& operator>>(T&& obj) {

Callers 1

LoadExternalBlockFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected