String to binary conversion
    clearion via Digitalmars-d 
    digitalmars-d at puremagic.com
       
    Wed Sep  3 05:53:03 PDT 2014
    
    
  
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
    
    
More information about the Digitalmars-d
mailing list