mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
17 lines
433 B
C++
17 lines
433 B
C++
#ifndef FILES_RLE_H_
|
|
#define FILES_RLE_H_
|
|
|
|
#include "../typedefs.h"
|
|
|
|
namespace rle {
|
|
size_t encode(const ubyte* src, size_t length, ubyte* dst);
|
|
size_t decode(const ubyte* src, size_t length, ubyte* dst);
|
|
}
|
|
|
|
namespace extrle {
|
|
constexpr uint max_sequence = 0x7FFF;
|
|
size_t encode(const ubyte* src, size_t length, ubyte* dst);
|
|
size_t decode(const ubyte* src, size_t length, ubyte* dst);
|
|
}
|
|
|
|
#endif // FILES_RLE_H_
|