MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / tell

Method tell

src/streams.cpp:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int64_t AutoFile::tell()
55{
56 if (!m_position.has_value()) throw std::ios_base::failure("AutoFile::tell: position unknown");
57 return *m_position;
58}
59
60int64_t AutoFile::size()
61{

Callers 5

read_xoredMethod · 0.80
runMethod · 0.80
process_fileFunction · 0.80
debug_log_sizeMethod · 0.80

Calls 1

has_valueMethod · 0.45

Tested by 1

debug_log_sizeMethod · 0.64