mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
rle module moved to coders package
This commit is contained in:
parent
4a32b33bf3
commit
d2a2f0e8ae
5 changed files with 108 additions and 108 deletions
17
src/coders/rle.h
Normal file
17
src/coders/rle.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef CODERS_RLE_H_
|
||||
#define CODERS_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 // CODERS_RLE_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue