mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
gzip compress/decompress + refactor
This commit is contained in:
parent
3837cdcf95
commit
b0165b1014
10 changed files with 119 additions and 65 deletions
12
src/coders/gzip.h
Normal file
12
src/coders/gzip.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef CODERS_GZIP_H_
|
||||
#define CODERS_GZIP_H_
|
||||
|
||||
#include <vector>
|
||||
#include "../typedefs.h"
|
||||
|
||||
namespace gzip {
|
||||
std::vector<ubyte> compress(const ubyte* src, size_t size);
|
||||
std::vector<ubyte> decompress(const ubyte* src, size_t size);
|
||||
}
|
||||
|
||||
#endif // CODERS_GZIP_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue