What is the most efficient way to reinterpret underlying bit patterns and write it into and array or field?

前端 未结 0 623
遇见更好的自我
遇见更好的自我 2020-12-13 21:28

Using Unsafe.putXXX one can put primitive type into an array or object field.

But code like the following generate errors.



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