Reading and writing a binary file

Bill Baxter wbaxter at
Thu Dec 14 13:29:41 PST 2006

jicman wrote:
> Greetings.
> I am have a python script that I need to move to d.  How do I read a
> binary file (say, c:\tmp\user.doc) and also how do I write a binary
> file (say, c:\tmp\new.doc)?
> Thanks,
> jos�

I observed that and *always* 
work in binary mode and you can't change that.  In your case that's a 
good thing.


More information about the Digitalmars-d-learn mailing list