Searched refs:new_buffer (Results 1 – 1 of 1) sorted by relevance
77 uint8_t* new_buffer = new (std::nothrow) uint8_t[new_size]; in reserve() local78 if (!new_buffer) return false; in reserve()79 memcpy(new_buffer, buffer_.get() + read_position_, available_read()); in reserve()81 buffer_.reset(new_buffer); in reserve()