How do you open stdout in binary mode with D/Phobos?
Same way you would do it in C. D uses C's FILE * as it's implementation.
In C++ you use something like: setmode(fileno(stdout), O_BINARY); (I don't even know where to find O_BINARY in core.stdc).
It may not be present, but it's just a number. Look it up. -Steve
