270271272273274275276277278279280
cursor += copyLen; } // Replace the current buffer with the new buffer totalReadBytes += position; buffer = byteSizeToRead == newBuffer.size() ? newBuffer : newBuffer.slice(0, byteSizeToRead); position = 0; return true; }