add bytes read to the stream