]> git.saurik.com Git - wxWidgets.git/commitdiff
make users aware of wxInputStream::Eof limitations
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 16 Apr 2004 16:37:17 +0000 (16:37 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 16 Apr 2004 16:37:17 +0000 (16:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/inputstr.tex

index 05f45a1884434f9f6b47000bf30e35a87f0a28d0..eb2c5f2249668d69d304ed0e8514b8ebd10f1e2b 100644 (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}