Add wxInputStream::ReadAll() and wxOutputStream::WriteAll().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 May 2013 13:15:16 +0000 (13:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 20 May 2013 13:15:16 +0000 (13:15 +0000)
commitcc437b9654244bfb8b638f98252aa34145323b9c
treed50b48ee2d14660026fa3b4650210c837567f495
parent54582f9ac65be400bf998d26197eba4f7650a574
Add wxInputStream::ReadAll() and wxOutputStream::WriteAll().

Unlike Read() and Write(), these functions always transfer exactly the
specified number of bytes or fail.

See #12056.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/stream.h
interface/wx/stream.h
src/common/stream.cpp