memory related refactor

This commit is contained in:
MihailRis 2024-04-14 19:17:51 +03:00
parent 8384ecf2c7
commit f5b3f3c33f
9 changed files with 177 additions and 159 deletions

View file

@ -87,7 +87,7 @@ public:
inline void setReady(bool newState) {setFlags(ChunkFlag::READY, newState);}
ubyte* encode() const;
std::unique_ptr<ubyte[]> encode() const;
/**
* @return true if all is fine