aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/spend.cpp
diff options
context:
space:
mode:
authorLarry Ruane <larryruane@gmail.com>2020-07-13 17:11:37 -0600
committerLarry Ruane <larryruane@gmail.com>2022-10-24 13:02:37 -0600
commitc72de9990ae8f1744006d9c852023b882d5ed80c (patch)
treea65e51a483084c24ae2cdc0401d3aeeee606b7af /src/wallet/spend.cpp
parent48a68908ba3d5e077cda7bd1e908b923fbead824 (diff)
util: add CBufferedFile::SkipTo() to move ahead in the stream
SkipTo() reads data from the file into the CBufferedFile object (memory), but, unlike this object's read() method, SkipTo() doesn't transfer data into a caller's memory buffer. This is useful because after skipping forward in the stream in this way, the user can, if needed, rewind the stream (SetPos()) and access the object's memory buffer including ranges that were skipped over (without needing to read from the disk file).
Diffstat (limited to 'src/wallet/spend.cpp')
0 files changed, 0 insertions, 0 deletions