diff options
Diffstat (limited to 'src/app/deflatetest/deflate.py')
-rwxr-xr-x | src/app/deflatetest/deflate.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/deflatetest/deflate.py b/src/app/deflatetest/deflate.py index 3b1d9bd..89fad41 100755 --- a/src/app/deflatetest/deflate.py +++ b/src/app/deflatetest/deflate.py @@ -35,3 +35,5 @@ print(f"// first Huffman block: type={block_type} is_final={is_final}") print(f"// {sys.argv[1]}") print("unsigned char const inflate_input[] = {" + ", ".join(map(str, output)) + "};") print(f"unsigned short const inflate_input_size = {len(output)};") +print(f"unsigned char deflate_output[{len(input_data) + 1}];") +print(f"unsigned short const deflate_output_size = {len(input_data) + 1};") |