How can I serialize a struct into a file in the style of C?
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jul 22 19:18:23 PDT 2017
On Sunday, 23 July 2017 at 02:07:45 UTC, solidstate1991 wrote:
> Well, it seems the toStringz() function adds a few garbage
> characters to the end of the filename
How are you using it? The only character it should be adding is
the zero terminator.
I suspect you might be using it on a static array without slicing
it down to size first...
More information about the Digitalmars-d-learn
mailing list