| Avro C++
    | 
A utility class to read generic datum from decoders. More...
#include <Generic.hh>
 
  
 | Public Member Functions | |
| GenericReader (const ValidSchema &s, const DecoderPtr &decoder) | |
| Constructs a reader for the given schema using the given decoder. | |
| GenericReader (const ValidSchema &writerSchema, const ValidSchema &readerSchema, const DecoderPtr &decoder) | |
| Constructs a reader for the given reader's schema readerSchemausing the given decoder which holds data matching writer's schemawriterSchema. | |
| void | read (GenericDatum &datum) const | 
| Reads a value off the decoder. | |
| void | drain () | 
| Drains any residual bytes in the input stream (e.g.  More... | |
| Static Public Member Functions | |
| static void | read (Decoder &d, GenericDatum &g) | 
| Reads a generic datum from the stream, using the given schema. | |
| static void | read (Decoder &d, GenericDatum &g, const ValidSchema &s) | 
| Reads a generic datum from the stream, using the given schema. | |
A utility class to read generic datum from decoders.
| 
 | inline | 
Drains any residual bytes in the input stream (e.g.
because reader's schema has no use of them) and return unused bytes back to the underlying input stream.
 1.8.13
 1.8.13