Help me about these codes

if(Serial.available()>0){
 for(i=0; i<8; i++){
 RxData = Serial.read();

If there is at least one byte available to read, read all 8 of them. Nope. FAIL!