Effect of a data buffer on the recorded distribution of time intervals for random events