How to change a slice to an array

后端 未结 0 1709
旧时难觅i
旧时难觅i 2020-12-04 16:24

I am trying to change a slice to an array without allocating any more space.

I have tried reflect or unsafe.Point to solve the problem, but none of them worked.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题