Searched refs:stream_buffer_ (Results 1 – 2 of 2) sorted by relevance
243 : stream_buffer_(stream_buffer) {} in ProtoReader()247 if (!DecodeVarint(stream_buffer_, &wire_tag)) { in ReadWireTag()256 if (!DecodeVarint(stream_buffer_, &size)) { in ReadWireTag()283 return DecodeVarint(stream_buffer_, value); in ReadVarint()288 return stream_buffer_->Read(data, size); in ReadLengthDelimited()294 return DecodeVarint(stream_buffer_, &dummy); in SkipField()296 return stream_buffer_->Skip(field_size_); in SkipField()303 : stream_buffer_(stream_buffer) {} in ProtoWriter()307 EncodeVarint(stream_buffer_, value); in WriteVarint()312 EncodeVarint(stream_buffer_, size) && in WriteLengthDelimited()[all …]
239 InputStreamBuffer* stream_buffer() { return stream_buffer_; } in stream_buffer()251 bool Done() const { return stream_buffer_->Done(); } in Done()273 InputStreamBuffer* stream_buffer_; variable291 OutputStreamBuffer* stream_buffer() { return stream_buffer_; } in stream_buffer()297 bool Done() const { return stream_buffer_->Done(); } in Done()318 OutputStreamBuffer* stream_buffer_; variable