Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/14
13 lines
265 B
C
13 lines
265 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <zstd.h>
|
|
|
|
int main() {
|
|
const char* originalData = "Sample text";
|
|
size_t compressedSize = ZSTD_compressBound(strlen(originalData) + 1);
|
|
printf("%zu\n", compressedSize);
|
|
|
|
return 0;
|
|
}
|