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?

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?

Reply via email to