Athena IO Library
SkywardSwordFileWriter.hpp
1 #ifndef SSFILEWRITER_HPP
2 #define SSFILEWRITER_HPP
3 
4 #include "athena/MemoryWriter.hpp"
5 
6 namespace athena
7 {
8 class SkywardSwordFile;
9 
10 namespace io
11 {
12 
14 {
15  MEMORYCOPYWRITER_BASE();
16 public:
17  SkywardSwordFileWriter(atUint8* data, atUint64 len);
18  SkywardSwordFileWriter(const std::string& filename);
19 
20  void write(SkywardSwordFile* file);
21 };
22 }
23 }
24 #endif // SSFILEWRITER_HPP
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...