On Wednesday, 7 February 2018 at 14:47:04 UTC, Ralph Doncaster wrote:
p.s. the cast should probably be to immutable ubyte[]. I'm guessing without it, there is an automatic copy of the data being made.

No copy - you just get undefined behavior if you actually try to modify it!

Reply via email to