2

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
  • 326,504
  • 69
  • 892
  • 1,159
Ziva
  • 2,785
  • 13
  • 43
  • 78

0 Answers0