Searched refs:p_ (Results 1 – 2 of 2) sorted by relevance
29 Request::Request(const uint8_t* bytes, uint32_t available) : p_(bytes) { in Request()48 if (p_ < end_) { in CheckConsumed()49 CHECK(p_ == end_) << "read too few bytes: " << (end_ - p_); in CheckConsumed()50 } else if (p_ > end_) { in CheckConsumed()51 CHECK(p_ == end_) << "read too many bytes: " << (p_ - end_); in CheckConsumed()59 memcpy(&s[0], p_, length); in ReadUtf8String()60 p_ += length; in ReadUtf8String()160 return *p_++; in Read1()164 uint16_t result = p_[0] << 8 | p_[1]; in Read2BE()165 p_ += 2; in Read2BE()[all …]
481 size_t size() { return end_ - p_; } in size()484 const uint8_t* data() { return p_; } in data()486 void Skip(size_t count) { p_ += count; } in Skip()501 const uint8_t* p_; variable