How can I convert BitArray
to a single int
? The fastest way pls...
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- Do the Java Integer and Double objects have unnece
This version:
Implementation:
Reffering to this post (#43935747). A value X is short tpe whic I set two bits (6 and 10) like below: short X=1;
Now I would like to read the specific all bits from Value X and put it in to an array or a bit type like bool Val1= bit1, bool Val2=bit2....
I am a newbie and I think it is pretty simple for you guyes..