问题
im trying to convert a
BitArray {0,0,0,0,0,0,0,0}
into this:
UInt32 0x0000
How can I do this?
回答1:
Try this:
new BitArray(yourArray).CopyTo(intArray, 0);
来源:https://stackoverflow.com/questions/37157550/converting-a-bitarray-in-to-uint32-c-sharp