Converting from std.file.read's void[]

Kagamin spam at here.lot
Tue Sep 21 23:11:16 PDT 2010


Jonathan M Davis Wrote:

> Okay, it seems that the way to read in a binary file is to use std.file.read() 
> which reads in the file as a void[]. This immediately raises the question as to 
> how to convert the void[] into something useful.

You may like the BinaryReader interface
http://msdn.microsoft.com/en-us/library/system.io.binaryreader_members.aspx


More information about the Digitalmars-d-learn mailing list