hello,
I've long sequence of 0 and 1's in a
string and i want this string to be stored in a byte array,but the size of byte array should be
( [number of 0's and 1's in string]/8 )
for example,if i've 80 consecutive 0's and 1's in a string then i want a byte array of size 10 consisting of the exact sequence of 0's and 1's as in string.
please help me on how to go about this..
regards