0

As the title says. Is there a noncopy way to view Vec<u64> or [u64;4] as Vec<u8> or [u8;256] ?

After all I guess it could be made via unsafe block, ptr ... but how?

And maybe there is another 'safe' way?

unegare
  • 2,197
  • 1
  • 11
  • 25

0 Answers0