12 #include "zlib/zlib.h" 40 bool Write(
const AString & a_Contents) {
return Write(a_Contents.data(),
static_cast<int>(a_Contents.size())); }
42 bool Write(
const char * a_Data,
int a_Size);
int ReadRestOfFile(AString &a_Contents)
Reads the rest of the file and decompresses it into a_Contents.
void Close(void)
Closes the file, flushing all buffers.
bool Write(const AString &a_Contents)
Writes a_Contents into file, compressing it along the way.
bool Open(const AString &a_FileName, eMode a_Mode)
Opens the file.