casting and arrays..

Chris Warwick sp at m.me.not
Sun Mar 11 05:18:47 PDT 2007


"Jarrett Billingsley" <kb3ctd2 at yahoo.com> wrote in message 
news:et00eg$66h$1 at digitalmars.com...
> "Chris Warwick" <sp at m.me.not> wrote in message 
> news:esvnvu$2ku8$1 at digitalmars.com...
>>
>> Well i cant realy do that cause im reading a binary file in, and then i 
>> want to parse it, extract structs and various types here and there.
>
> I wouldn't really recommend std.file.read for anything more than reading 
> in the simplest of files.  Use std.stream.File or BufferedFile for reading 
> in complex files.  You can then read in a struct with .readExact.

Note to self ... RTFM

;-) 




More information about the Digitalmars-d-learn mailing list