blob: 9ce53ed2649359252ccb336198fc786f1a7e157f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// GZipFile.h
// Declares the GZipFile namespace representing a wrapper over a file stream that can read and write to GZip'd files
#pragma once
#include "StringCompression.h"
namespace GZipFile
{
/** Reads the rest of the file and returns the decompressed contents. */
Compression::Result ReadRestOfFile(const std::string & a_FileName);
/** Writes a_Contents into file, compressing it along the way. */
void Write(const std::string & a_FileName, ContiguousByteBufferView a_Contents);
}; // namespace GZipFile
|