for(i = 0; i < 10; i++) { do stuff with the byte at index number i }