1 #ifndef MCFILEWRITER_HPP 2 #define MCFILEWRITER_HPP 4 #include "athena/Types.hpp" 5 #include "athena/MemoryWriter.hpp" 24 MEMORYCOPYWRITER_BASE();
48 static atUint16 calculateChecksum(atUint8*
data, atUint32
length);
50 atUint16 calculateSlotChecksum(atUint32 game);
56 #endif // MCFILEWRITER_HPP atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
MCFileWriter(atUint8 *, atUint64)
This constructor takes an existing buffer to write to.
atUint64 length() const
Returns the length of the stream.
The Minish Cap Save save data writer class.
The Minish Cap data container class class.
void writeFile(MCFile *file)
Writes the given save data to a file on disk.