U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Writing hexadecimal to files
Re: Writing hexadecimal to files [message #32535 is a reply to message #32531] Tue, 24 May 2011 08:44 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3464
Registered: August 2008
Senior Veteran
Hello

U++ String handle very well binary data.

For example

String binaryC = binaryA + binaryB;


works perfectly.

The problem Tjerk had was when filling the String. Using this:

String a = "text";

does not serve for binary String, only for text, as far as it has no \0 inside.

The reason is that, with:
String a = "abc\0def";


¿how does the compiler know where is the end of the String?. We have to tell him by using, for example, Cat();


Best regards
Iñaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: dll example errors when trying
Next Topic: How to reference value of an item on a layout?
Goto Forum:
  


Current Time: Tue Oct 13 21:17:38 GMT+2 2026

Total time taken to generate the page: 0.59788 seconds