template<typename T>
{
Protobuf<typename std::remove_cvref_t<T>>::UnpackInto(out, istream)
} -> std::same_as<bool>;
}
Specifies that a type is capable of in-place protobuf deserialization.
Definition Protobuf.h:282
Specifies that a type is capable of protobuf serialization and deserialization.
Definition Protobuf.h:251
Specifies that a type is capable of in-place protobuf deserialization.
In addition to meeting ProtobufSerializable, implementations must define a wpi::Protobuf<T> static member
- bool UnpackInto(T*, wpi::ProtoInputStream<T>&)` to update the pointed-to T with the contents of the message.