Cuberite
A lightweight, fast and extensible game server for Minecraft
Functions
GZipFile Namespace Reference

Functions

Compression::Result ReadRestOfFile (const std::string &a_FileName)
 Reads the rest of the file and returns the decompressed contents. More...
 
void Write (const std::string &a_FileName, ContiguousByteBufferView a_Contents)
 Writes a_Contents into file, compressing it along the way. More...
 

Function Documentation

◆ ReadRestOfFile()

Compression::Result GZipFile::ReadRestOfFile ( const std::string &  a_FileName)

Reads the rest of the file and returns the decompressed contents.

Definition at line 14 of file GZipFile.cpp.

◆ Write()

void GZipFile::Write ( const std::string &  a_FileName,
ContiguousByteBufferView  a_Contents 
)

Writes a_Contents into file, compressing it along the way.

Definition at line 27 of file GZipFile.cpp.