Searched refs:ofs_ (Results 1 – 2 of 2) sorted by relevance
16 ofs_(0) { in SpdyFrameReader()27 *result = *reinterpret_cast<const uint8*>(data_ + ofs_); in ReadUInt8()30 ofs_ += 1; in ReadUInt8()43 *result = ntohs(*(reinterpret_cast<const uint16*>(data_ + ofs_))); in ReadUInt16()46 ofs_ += 2; in ReadUInt16()59 *result = ntohl(*(reinterpret_cast<const uint32*>(data_ + ofs_))); in ReadUInt32()62 ofs_ += 4; in ReadUInt32()75 uint64 upper = ntohl(*(reinterpret_cast<const uint32*>(data_ + ofs_))); in ReadUInt64()76 uint64 lower = ntohl(*(reinterpret_cast<const uint32*>(data_ + ofs_ + 4))); in ReadUInt64()80 ofs_ += 8; in ReadUInt64()[all …]
99 void Rewind() { ofs_ = 0; } in Rewind()106 size_t GetBytesConsumed() const { return ofs_; } in GetBytesConsumed()123 size_t ofs_; variable