Python Structure To Byte Array To Bitset