Fastest Method to Split a 32 Bit number into Bytes in C++

后端 未结 7 1193
梦谈多话
梦谈多话 2021-01-21 03:15

I am writing a piece of code designed to do some data compression on CLSID structures. I\'m storing them as a compressed stream of 128 bit integers. However, the code in questio

7条回答
  •  有刺的猬
    2021-01-21 03:42

    Perhaps it's possible to get 32bit variable pointer, convert it into char pointer and read char, then add +1 to pointer and read next char .. just theory :) i don't know if it's working

提交回复
热议问题