Half implemented decompression. Need to figure out how to handle group size adjustment on decompressed data.

This commit is contained in:
2022-09-05 21:01:26 +10:00
parent 10f9c50674
commit ed613db39e
3 changed files with 76 additions and 2 deletions

View File

@@ -277,6 +277,12 @@ extern "C" {
*/
size_t espr_formid_count(char *data, size_t size);
/* Copies the data from `data` to `buf` decompressing compressed fields as
* it does so. buf_size should be the value returned from `espr_decompressed_size`,
* and `buf` should be at least of that size.
*/
void espr_decompress(char *data, size_t size, char *buf, size_t buf_size);
// End C++ guard
#ifdef __cplusplus
}