Home | History | Annotate | Download | only in stubs

Lines Matching refs:ByteSource

31 // This file declares the ByteSink and ByteSource abstract interfaces. These
32 // interfaces represent objects that consume (ByteSink) or produce (ByteSource)
46 // ByteSource:
99 // ByteSource* source = ...
106 class LIBPROTOBUF_EXPORT ByteSource {
108 ByteSource() {}
109 virtual ~ByteSource() {}
113 // increase. Available() returning 0 indicates that the ByteSource is
117 // indicative of the fixed-size nature of a ByteSource.
135 // Writes the next n bytes in this ByteSource to the given ByteSink, and
136 // advances this ByteSource past the copied bytes. The default implementation
144 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ByteSource);
283 // Some commonly used implementations of ByteSource
286 // Implementation of ByteSource that reads from a StringPiece.
295 class LIBPROTOBUF_EXPORT ArrayByteSource : public ByteSource {
308 // Implementation of ByteSource that wraps another ByteSource, limiting the
326 class LIBPROTOBUF_EXPORT LimitByteSource : public ByteSource {
329 LimitByteSource(ByteSource* source, size_t limit);
340 ByteSource* source_;