Logical c# problem
Friends there is logical problem: I have an array of bytes having values 11,12,5,15,57,75,12,12,12,18,2,26 I want to write the two chunks in a separate file from these values. The chunk i.e. 11,12,5,15,57,75 and 18,2,26. We will divide data into two chunks by seeing that if there are continues value of 12 (i.e. if in three quantities of 12 then should be ignored and not be included in chunk, and new chunk without these value fill comprises of values after it and before will be formed) otherwise if one or two value of 12 then it should be included i.e. 11,12,5,15,57,75,12,12,12,18,2,26 -> 11,12,5,15,57,75 and 18,2,26
Thanks
|