17 const std::string Input{ std::istreambuf_iterator<char>(File), std::istreambuf_iterator<char>() };
std::basic_string_view< std::byte > ContiguousByteBufferView
FileStream< std::ofstream > OutputFileStream
void Write(const std::string &a_FileName, ContiguousByteBufferView a_Contents)
Writes a_Contents into file, compressing it along the way.
Compression::Result ReadRestOfFile(const std::string &a_FileName)
Reads the rest of the file and returns the decompressed contents.
A wrapper for file streams that enables exceptions.
Contains the result of a compression or extraction operation.
std::string_view GetStringView() const
Returns a view (of type char) of the internal store.
Contains routines for data compression.
Result CompressGZip(ContiguousByteBufferView Input)
Contains routines for data extraction.
Result ExtractGZip(ContiguousByteBufferView Input)