Is void[] really the correct type it should be returning instead of ubyte[] when it just reads a (binary) file to memory? Or should void[] actually be castable to ubyte[] in @safe code?
I was wondering, how are you supposed to use std.file : read in
@safe code when it returns a void[] but you want to get all bytes
in the file?
- @safe std.file.read WebFreak001 via Digitalmars-d-learn
- Re: @safe std.file.r... Dennis via Digitalmars-d-learn
- Re: @safe std.file.r... Dominikus Dittes Scherkl via Digitalmars-d-learn
- Re: @safe std.file.r... Steven Schveighoffer via Digitalmars-d-learn
- Re: @safe std.fi... Jonathan M Davis via Digitalmars-d-learn
- Re: @safe std.file.r... Steven Schveighoffer via Digitalmars-d-learn