Half implemented decompression. Need to figure out how to handle group size adjustment on decompressed data.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user