Home
last modified time | relevance | path

Searched defs:Codec (Results 1 – 1 of 1) sorted by relevance

/system/nvram/messages/include/nvram/messages/
Dproto.hpp116 struct Codec { struct
150 struct Codec<Blob> { struct
151 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> { struct
187 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 …]