Combining bytes, putting it into the buffer