The buffer never stores more data than is necessary