I don't understand why this code doesn't compile: http://dpaste.dzfl.pl/dfd8df7f80ad
that should be immutable(ubyte)[] not immutable ubyte[] which is equivalent to immutable(ubyte[]). You can't overwrite immutable data, hence the error.
John Colvin via Digitalmars-d-learn Wed, 15 Oct 2014 13:16:11 -0700
I don't understand why this code doesn't compile: http://dpaste.dzfl.pl/dfd8df7f80ad
that should be immutable(ubyte)[] not immutable ubyte[] which is equivalent to immutable(ubyte[]). You can't overwrite immutable data, hence the error.