On Wednesday, 3 September 2014 at 12:47:06 UTC, Adam D. Ruppe
wrote:
You could just write the string length then the data to the file using the .length and index things on string.

file.write(mystr.length);
file.write(mystr); // should automatically write out all the bytes of the string

Thanks Mr. Ruppe. I'll give it a try

Reply via email to