#pragma once #include #include namespace td { namespace protocol { class Command; using CommandPtr = std::shared_ptr; namespace CommandSerializer { DataBuffer Serialize(const Command& a_Command); std::shared_ptr Deserialize(DataBuffer& a_Data); } // namespace CommandSerializer } // namespace protocol } // namespace td