Does Serial.print affects serial recieve buffer?

   while (Serial.available()<=0){  // waits until a byte is sent
     inByte = Serial.read();
     Serial.print(inByte);
   }

Come on, James. You know better than that. While there is nothing to read, read it?