]> source.dussan.org Git - tigervnc.git/commit
Add stream avail() methods
authorPierre Ossman <ossman@cendio.se>
Tue, 19 May 2020 18:45:22 +0000 (20:45 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 21 May 2020 09:34:22 +0000 (11:34 +0200)
commitb35ae29f932288b0529eb9eed21c31364a3489a4
treed7c680494c170e6d9282dc51b2be1d05604f65ba
parentdc38699af81e8bb953946000121f0a48cf30b962
Add stream avail() methods

Makes it more readable to write code that needs to know how much
data/space is available in a stream.
15 files changed:
common/rdr/FdInStream.cxx
common/rdr/FdOutStream.cxx
common/rdr/FileInStream.cxx
common/rdr/HexInStream.cxx
common/rdr/HexOutStream.cxx
common/rdr/InStream.h
common/rdr/OutStream.h
common/rdr/RandomStream.cxx
common/rdr/TLSInStream.cxx
common/rdr/TLSOutStream.cxx
common/rdr/ZlibInStream.cxx
common/rdr/ZlibOutStream.cxx
common/rfb/JpegCompressor.cxx
tests/perf/decperf.cxx
tests/perf/encperf.cxx