I would say it should return a ubyte[].

On Monday, 6 January 2020 at 10:07:37 UTC, WebFreak001 wrote:
Or should void[] actually be castable to ubyte[] in @safe code?

Definitely not with the current semantics, since a void[] can alias pointers in @safe code.
See: https://issues.dlang.org/show_bug.cgi?id=20345

Reply via email to