I solved the problem by replacing destination.write() to
destination.writeString() in the encoding function.
But... thanks for providing help :)
Nrgyzer Wrote:
> decode(to!(string)(content));
check out, what you send to decode function.
the code... /3_=
Hey guys,
I want encode and decode binary files like images, documents and similar file
types to use it in an binary xml. For those I created a
simple command line tool which encode or decode an file.
The encoding of files will be processed by these lines:
...
ubyte[] buffer;
buffer.length = so