19 #ifndef avro_AvroSerialize_hh__    20 #define avro_AvroSerialize_hh__    34 template <
typename Writer, 
typename T>
    42 template <
typename Writer, 
typename T>
    45     static_assert(
sizeof(T) == 0, 
"Not a valid type to serialize");
    52 template <
typename Writer, 
typename T>
    57 template <
typename Writer>
    58 void serialize(
Writer &s, 
const std::vector<uint8_t> &val, 
const std::true_type &) {
    59     s.writeBytes(val.data(), val.size());
 A bunch of templates and specializations for encoding and decoding specific types. 
Definition: AvroParse.hh:30
 
void serialize(Writer &s, const T &val)
The main serializer entry point function. 
Definition: AvroSerialize.hh:35
 
This header contains type traits and similar utilities used by the library. 
 
Class for writing avro data to a stream. 
Definition: Writer.hh:36
 
Define an is_serializable trait for types we can serialize natively. 
Definition: AvroTraits.hh:38