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?
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?