Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Contains routines for data extraction. More...
#include <StringCompression.h>
Public Member Functions | |
template<auto Algorithm> | |
Compression::Result | Extract (const ContiguousByteBufferView Input) |
template<auto Algorithm> | |
Compression::Result | Extract (const ContiguousByteBufferView Input, size_t UncompressedSize) |
Result | ExtractGZip (ContiguousByteBufferView Input) |
Extractor () | |
Creates a new extractor instance. More... | |
Result | ExtractZLib (ContiguousByteBufferView Input) |
Result | ExtractZLib (ContiguousByteBufferView Input, size_t UncompressedSize) |
~Extractor () | |
Private Member Functions | |
template<auto Algorithm> | |
Result | Extract (ContiguousByteBufferView Input) |
template<auto Algorithm> | |
Result | Extract (ContiguousByteBufferView Input, size_t UncompressedSize) |
Private Attributes | |
libdeflate_decompressor * | m_Handle |
Contains routines for data extraction.
Definition at line 64 of file StringCompression.h.
Compression::Extractor::Extractor | ( | ) |
Creates a new extractor instance.
Definition at line 137 of file StringCompression.cpp.
Compression::Extractor::~Extractor | ( | ) |
Definition at line 151 of file StringCompression.cpp.
Compression::Result Compression::Extractor::Extract | ( | const ContiguousByteBufferView | Input | ) |
Definition at line 188 of file StringCompression.cpp.
Compression::Result Compression::Extractor::Extract | ( | const ContiguousByteBufferView | Input, |
size_t | UncompressedSize | ||
) |
Definition at line 229 of file StringCompression.cpp.
|
private |
|
private |
Compression::Result Compression::Extractor::ExtractGZip | ( | ContiguousByteBufferView | Input | ) |
Definition at line 160 of file StringCompression.cpp.
Compression::Result Compression::Extractor::ExtractZLib | ( | ContiguousByteBufferView | Input | ) |
Definition at line 169 of file StringCompression.cpp.
Compression::Result Compression::Extractor::ExtractZLib | ( | ContiguousByteBufferView | Input, |
size_t | UncompressedSize | ||
) |
Definition at line 178 of file StringCompression.cpp.
|
private |
Definition at line 81 of file StringCompression.h.