#pragma once #include #include #include #include #include namespace nx { class SacBinary : public fnd::ISerialisable { public: SacBinary(); SacBinary(const SacBinary& other); void operator=(const SacBinary& other); bool operator==(const SacBinary& other) const; bool operator!=(const SacBinary& other) const; // export/import binary void toBytes(); void fromBytes(const byte_t* bytes, size_t len); const fnd::Vec& getBytes() const; // variables void clear(); const fnd::List& getServiceList() const; void addService(const SacEntry& service); private: const std::string kModuleName = "SAC_BINARY"; // raw binary fnd::Vec mRawBinary; // variables fnd::List mServices; }; }