Arduino I2C sniffing data

The idea is just to extract this data set of bits. Say, to send it to a server.

This sketch spits chunks of data in a buffer. How to take a set of bits and use it? To send it to a server, or to store on an SD card, or whatever.