6

If I have a variable of type &[u8], is there a way to turn it instead into type [u8; SIZE] where SIZE is some fixed constant?

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
Ziva
  • 3,181
  • 15
  • 48
  • 80

0 Answers0