make users aware of wxInputStream::Eof limitations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-04-16 16:37:17 +00:00
parent 5232d996cd
commit 46e00cd75a

View File

@ -49,8 +49,11 @@ Returns true if the end of stream has been reached.
\wxheading{Note}
This cannot be really implemented for all streams and CanRead() is more
reliable than Eof().
For some streams Eof() will not return true until an
attempt has been made to read past the end of the stream.
\helpref{LastRead()}{wxinputstreamlastread}
should be called after each read to check that
a non-zero number of bytes have been read.
\membersection{wxInputStream::LastRead}\label{wxinputstreamlastread}