Searched defs:LimitByteSource (Results 1 - 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
H A Dbytestream.cc159 LimitByteSource::LimitByteSource(ByteSource *source, size_t limit) function in class:google::protobuf::strings::LimitByteSource
164 size_t LimitByteSource::Available() const {
173 StringPiece LimitByteSource::Peek() {
182 void LimitByteSource::Skip(size_t n) {
188 void LimitByteSource::CopyTo(ByteSink *sink, size_t n) {
H A Dbytestream.h312 // underlying source while using the LimitByteSource object. The underlying
313 // source's pointer is advanced by n bytes every time this LimitByteSource
322 // LimitByteSource limit(abs, 5);
326 class LIBPROTOBUF_EXPORT LimitByteSource : public ByteSource { class in namespace:google::protobuf::strings
329 LimitByteSource(ByteSource* source, size_t limit);

Completed in 246 milliseconds