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
Steven Schveighoffer via Digitalmars-d-learn Mon, 06 Jan 2020 07:55:48 -0800
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