Ary Borenszweig:
When assigning a fixed size array to a slice, can't you just allocate memory and copy the data there (I mean, let the compiler do that in that case)? That would be safe, right?
Yes, using a .dup: char[] hashstring = toHexString(hash).dup; But the compiler should not do this by itself. Bye, bearophile