GBDK 2020 Docs
4.3.0
API Documentation for GBDK 2020
|
Go to the source code of this file.
Macros | |
#define | RLE_STOP 0 |
Functions | |
uint8_t | rle_init (void *data) |
uint8_t | rle_decompress (void *dest, uint8_t len) |
Decompressor for RLE encoded data
Decompresses data which has been compressed with gbcompress using the --alg=rle
argument.
#define RLE_STOP 0 |
uint8_t rle_init | ( | void * | data | ) |
Initialize the RLE decompressor with RLE data at address data
data | Pointer to start of RLE compressed data |
Decompress RLE compressed data into dest for length len bytes
dest | Pointer to destination buffer/address |
len | Number of bytes to decompress |
0
if compression is complete, 1
if there is more data to decompressBefore calling this function rle_init must be called one time to initialize the RLE decompressor.
Decompresses data which has been compressed with gbcompress using the --alg=rle
argument.