Lines Matching refs:stream_buffer_
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()
313 stream_buffer_->Write(data, size); in WriteLengthDelimited()
318 EncodeVarint(stream_buffer_, size); in WriteLengthHeader()
322 return EncodeVarint(stream_buffer_, in WriteWireTag()