@safe std.file.read

Steven Schveighoffer schveiguy at gmail.com
Mon Jan 6 15:54:20 UTC 2020


On 1/6/20 5:07 AM, WebFreak001 wrote:
> Or should void[] 
> actually be castable to ubyte[] in @safe code?

No, because you can implicitly cast anything to void[], including 
pointer arrays.

Possibly const(ubyte[]).

-Steve


More information about the Digitalmars-d-learn mailing list