mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
implement ZipFileDevice methods (WIP)
This commit is contained in:
parent
9389d63a5f
commit
58acc1b2ec
3 changed files with 60 additions and 12 deletions
|
|
@ -7,13 +7,13 @@
|
|||
namespace gzip {
|
||||
const unsigned char MAGIC[] = "\x1F\x8B";
|
||||
|
||||
/* Compress bytes array to GZIP format
|
||||
@param src source bytes array
|
||||
@param size length of source bytes array */
|
||||
/// Compress bytes array to GZIP format
|
||||
/// @param src source bytes array
|
||||
/// @param size length of source bytes array
|
||||
std::vector<ubyte> compress(const ubyte* src, size_t size);
|
||||
|
||||
/* Decompress bytes array from GZIP
|
||||
@param src GZIP data
|
||||
@param size length of GZIP data */
|
||||
/// Decompress bytes array from GZIP
|
||||
/// @param src GZIP data
|
||||
/// @param size length of GZIP data
|
||||
std::vector<ubyte> decompress(const ubyte* src, size_t size);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue