&(*buf_)[0] is undefined if buf_->size() == 0