Athena IO Library
SpriteFileWriter.hpp
1 #ifndef SSPRITEFILEWRITER_HPP
2 #define SSPRITEFILEWRITER_HPP
3 
4 #include "athena/MemoryWriter.hpp"
5 
6 namespace athena
7 {
8 namespace Sakura
9 {
10 class SpriteFile;
11 } // Sakura
12 
13 namespace io
14 {
15 
17 {
18  MEMORYCOPYWRITER_BASE();
19 public:
20  SpriteFileWriter(atUint8* data, atUint64 length);
21 
22  SpriteFileWriter(const std::string& filepath);
23 
24  void writeFile(Sakura::SpriteFile* file);
25 };
26 
27 } // io
28 } // zelda
29 #endif // SSPRITEFILEWRITER_HPP