nstool/lib/nx/ISerialiseableBinary.h

18 lines
435 B
C
Raw Normal View History

#pragma once
#include <fnd/types.h>
class ISerialiseableBinary
{
public:
2017-07-06 10:54:07 +00:00
//virtual bool operator==(const ISerialiseableBinary& other) = 0;
//virtual void operator=(const ISerialiseableBinary& other) = 0;
virtual const u8* getBytes() const = 0;
virtual size_t getSize() const = 0;
virtual void exportBinary() = 0;
virtual void importBinary(const u8* bytes) = 0;
virtual void importBinary(const u8* bytes, size_t len) = 0;
};