Botcraft 1.21.4
Loading...
Searching...
No Matches
Compression.cpp File Reference
#include "botcraft/Network/Compression.hpp"
#include <zlib.h>
#include <string>
#include <cstring>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  Botcraft
 

Functions

std::vector< unsigned char > Botcraft::Compress (const std::vector< unsigned char > &raw)
 
std::vector< unsigned char > Botcraft::Decompress (const std::vector< unsigned char > &compressed, const int start=0)