Searched refs:read_pos_ (Results 1 – 2 of 2) sorted by relevance
966 : str_(*str), read_pos_(0), read_only_(false) { in StringStream()970 : str_(const_cast<std::string&>(str)), read_pos_(0), read_only_(true) { in StringStream()979 size_t available = std::min(buffer_len, str_.size() - read_pos_); in Read()982 memcpy(buffer, str_.data() + read_pos_, available); in Read()983 read_pos_ += available; in Read()1010 read_pos_ = position; in SetPosition()1016 *position = read_pos_; in GetPosition()1028 *size = str_.size() - read_pos_; in GetAvailable()
620 size_t read_pos_; variable