<wx/stream.h>
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
\wxheading{See also}
\helpref{wxStreamBuffer}{wxstreambuffer}
\constfunc{wxFileOffset}{GetLength}{\void}
Returns the length of the stream in bytes. If the length cannot be determined
-(this is always the case for socket streams for example), returns
+(this is always the case for socket streams for example), returns
\texttt{wxInvalidOffset}.
\newsince{2.5.4}
\constfunc{size\_t}{GetSize}{\void}
-\deprecated{\helpref{GetLength}{wxstreambasegetlength}}
+\helpref{GetLength}{wxstreambasegetlength}
This function returns the size of the stream. For example, for a file it is the
size of the file.
\membersection{wxStreamBase::IsOk}\label{wxstreambaseisok}
-\constfunc{wxStreamError}{IsOk}{\void}
+\constfunc{virtual bool}{IsOk}{\void}
Returns true if no error occurred on the stream.
\helpref{GetLastError}{wxstreambasegetlasterror}
+\membersection{wxStreamBase::IsSeekable}\label{wxstreambaseisseekable}
+
+\constfunc{bool}{IsSeekable}{\void}
+
+Returns true if the streams supports seeking to arbitrary offsets.
+
+
\membersection{wxStreamBase::OnSysRead}\label{wxstreambaseonsysread}
\func{size\_t}{OnSysRead}{\param{void*}{ buffer}, \param{size\_t}{ bufsize}}
\membersection{wxStreamBase::OnSysWrite}\label{wxstreambaseonsyswrite}
-\func{size\_t}{OnSysWrite}{\param{void *}{buffer}, \param{size\_t}{ bufsize}}
+\func{size\_t}{OnSysWrite}{\param{const void *}{buffer}, \param{size\_t}{ bufsize}}
See \helpref{OnSysRead}{wxstreambaseonsysread}.
-