mention that Write(string) works with NUL-terminated strings only

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-28 11:10:46 +00:00
parent 14f286429e
commit 4f5c4ebf1a

View File

@@ -298,3 +298,7 @@ Writes the contents of the string to the file, returns true on success.
The second argument is only meaningful in Unicode build of wxWindows when The second argument is only meaningful in Unicode build of wxWindows when
{\it conv} is used to convert {\it s} to multibyte representation. {\it conv} is used to convert {\it s} to multibyte representation.
Note that this method only works with {\tt NUL}-terminated strings, if you want
to write data with embedded {\tt NUL}s to the file you should use the other
\helpref{Write() overload}{wxfilewrite}.