mirror of https://github.com/libAthena/athena.git
23 lines
393 B
C++
23 lines
393 B
C++
#pragma once
|
|
|
|
#include "athena/MemoryWriter.hpp"
|
|
|
|
namespace athena {
|
|
namespace Sakura {
|
|
class SpriteFile;
|
|
} // namespace Sakura
|
|
|
|
namespace io {
|
|
|
|
class SpriteFileWriter : public MemoryCopyWriter {
|
|
public:
|
|
SpriteFileWriter(atUint8* data, atUint64 length);
|
|
|
|
SpriteFileWriter(std::string_view filepath);
|
|
|
|
void writeFile(Sakura::SpriteFile* file);
|
|
};
|
|
|
|
} // namespace io
|
|
} // namespace athena
|