1 ///////////////////////////////////////////////////////////////////////////////
4 /// \brief Tests Block coders
6 // Author: Lasse Collin
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
11 ///////////////////////////////////////////////////////////////////////////////
16 static uint8_t text
[] = "Hello world!";
17 static uint8_t buffer
[4096];
18 static lzma_options_block block_options
;
19 static lzma_stream strm
= LZMA_STREAM_INIT
;
34 block_options
= (lzma_options_block
){
35 .check_type
= LZMA_CHECK_NONE
,
37 .has_uncompressed_size_in_footer
= false,
38 .has_backward_size
= false,
39 .handle_padding
= false,
40 .total_size
= LZMA_VLI_UNKNOWN
,
41 .compressed_size
= LZMA_VLI_UNKNOWN
,
42 .uncompressed_size
= LZMA_VLI_UNKNOWN
,
45 block_options
.filters
[0].id
= LZMA_VLI_UNKNOWN
;
46 block_options
.filters
[0].options
= NULL
;