Modified BufferIncomingData().