Android-cuttlefish cvd tool
|
#include <composite_serialization.h>
Public Member Functions | |
CompositeSerializable (const std::vector< keymaster::Serializable * > &) | |
size_t | SerializedSize () const override |
uint8_t * | Serialize (uint8_t *buf, const uint8_t *end) const override |
bool | Deserialize (const uint8_t **buf_ptr, const uint8_t *end) override |
Private Attributes | |
std::vector< keymaster::Serializable * > | members_ |
A keymaster::Serializable type that refers to multiple other keymaster::Serializable instances by pointer. When data is serialized or deserialized, it's delegated to the instances pointed to.
The serialization format is to put the instances one after the other in the byte stream.
cuttlefish::CompositeSerializable::CompositeSerializable | ( | const std::vector< keymaster::Serializable * > & | ) |
|
override |
|
override |
|
override |
|
private |