Hi I have an array of byte array of 1 and 0s. I would like to make sure every pack of 1 or 0s contains 8 number
I can use this example to explain it better. Lets say I have this array
111111110000000111111100000000
As can be first pack of 0s and the second pack of 1s contain 7 bits. I would like to programaticaaly change it to 8 so the result should be
11111111000000001111111100000000
As can be seen now evey pack of 1s or 0s contains 8 element . Could you please help me on this.A sample code would be great
Many thanks