added wxMBConv parameter for wxFFile::ReadAll() and documented it (improved patch 1041642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -208,6 +208,24 @@ Reads the specified number of bytes into a buffer, returning the actual number r
|
||||
The number of bytes read.
|
||||
|
||||
|
||||
\membersection{wxFFile::ReadAll}\label{wxffilereadall}
|
||||
|
||||
\func{bool}{ReadAll}{\param{wxString *}{ str}, \param{wxMBConv\&}{ conv = wxConvUTF8}}
|
||||
|
||||
Reads the entire contents of the file into a string.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{str}{String to read data into.}
|
||||
|
||||
\docparam{conv}{Conversion object to use in Unicode build; by default supposes
|
||||
that file contents is encoded in UTF-8.}
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
\true if file was read successfully, \false otherwise.
|
||||
|
||||
|
||||
\membersection{wxFFile::Seek}\label{wxffileseek}
|
||||
|
||||
\func{bool}{Seek}{\param{wxFileOffset }{ofs}, \param{wxSeekMode }{mode = wxFromStart}}
|
||||
|
Reference in New Issue
Block a user