mirror of
https://github.com/libAthena/athena.git
synced 2025-07-06 21:26:11 +00:00
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(uint8_t* data, uint64_t length);
|
|
|
|
SpriteFileWriter(std::string_view filepath);
|
|
|
|
void writeFile(Sakura::SpriteFile* file);
|
|
};
|
|
|
|
} // namespace io
|
|
} // namespace athena
|