Binary data to wxString

Piotr Starczewski pstarczewski at o2.pl
Mon Dec 11 03:19:21 PST 2006


Try wxString::FromAscii(char*):
http://wxwidgets.org/manuals/2.6.3/wx_wxstring.html#wxstringfromascii

Regards,
Peter


Lloyd wrote:
> Hi,
>   Is there any way to convert a Binary data buffer (char*) to a
> wxString?
>
> Because most probably my buffer will contain ASCII characters. If I
> could convert this buffer to a wxString, I could have used it as an
> input to the wxStringTokenizer to get the tokens in the buffer.
>
> orelse any suggestions to get the tokens from my buffer?
>
> Thanks in advance,
> Lloyd
>
>
> ______________________________________
> Scanned and protected by Email scanner
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
>
>   




More information about the wx-users mailing list