On Thursday, 28 November 2013 at 00:05:24 UTC, Luís Marques wrote:
file.write writes the length of the array, which is what you see:

    Writes a string, together with its length.
The format is implementation-specific and should only be used in conjunction with read. Throw WriteException on error.

fix: file.writeString(patch);

(BTW, notice that use of std.stream is not recommended)

Hi

thanks for your answer.
I need to use streams because i need to set the file pointer in order to apply a binary edit within an executable.

What would you recommend me, knowing this?

thank you

Reply via email to