Arduino I2C sniffing data

After some testing, I can understand the structure I get from this sketch. It is pretty much what the datasheet says. Now, as output is in the buffer, any suggestion on how to strip all things off and get only an array of bits I need. The part between the plus sign.

The buffer is not always as you see here. Sometimes it has a gibberish or two.