Re: Binary IO

2014-07-18 Thread Alexandre via Digitalmars-d-learn
Maybe this can be usefull for u https://gist.github.com/bencz/3576dfc8a217a34c05a9 On Thursday, 17 July 2014 at 23:04:06 UTC, H. S. Teoh via Digitalmars-d-learn wrote: On Thu, Jul 17, 2014 at 09:01:35PM +, seany via Digitalmars-d-learn wrote: Data is a built in type? what includefile do I

Re: Binary IO

2014-07-17 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Jul 17, 2014 at 09:01:35PM +, seany via Digitalmars-d-learn wrote: > Data is a built in type? what includefile do I need? It can be any type you want, it was just an example. T -- Chance favours the prepared mind. -- Louis Pasteur

Re: Binary IO

2014-07-17 Thread Justin Whear via Digitalmars-d-learn
On Thu, 17 Jul 2014 21:01:35 +, seany wrote: > Data is a built in type? what includefile do I need? No, just used as an example. What sort of data are reading from the binary file?

Re: Binary IO

2014-07-17 Thread seany via Digitalmars-d-learn
Data is a built in type? what includefile do I need?

Re: Binary IO

2014-07-17 Thread Justin Whear via Digitalmars-d-learn
On Thu, 17 Jul 2014 20:35:24 +, seany wrote: > Hello, > > What are the methods of unformatted binary IO in d? File.write seems to > use formatted ASCII . I would like to write a binary file that I cna > read in fortan. Similarly, I would like to write a file in Fortan, > unformatted IO, and r

Re: Binary IO

2014-07-17 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Jul 17, 2014 at 08:35:24PM +, seany via Digitalmars-d-learn wrote: > Hello, > > What are the methods of unformatted binary IO in d? File.write seems > to use formatted ASCII . I would like to write a binary file that I > cna read in fortan. Similarly, I would like to write a file in Fo