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?

dronte7
  • 1,146
  • 1
  • 7
  • 17

0 Answers0