Searched defs:Codec (Results 1 – 1 of 1) sorted by relevance
116 struct Codec { struct150 struct Codec<Blob> { struct151 static constexpr WireType kWireType = WireType::kLengthDelimited;153 static bool Encode(const Blob& blob, ProtoWriter* writer) { in Encode()157 static bool Decode(Blob& blob, ProtoReader* reader) { in Decode()186 struct Codec<Type, typename enable_if<IsVarintCompatible<Type>::value>::Type> { struct187 static constexpr WireType kWireType = WireType::kVarint;189 static bool Encode(const Type& value, ProtoWriter* writer) { in Encode()193 static bool Decode(Type& value, ProtoReader* reader) { in Decode()205 struct Codec<Vector<ElementType>> { struct[all …]