1 // SPDX-License-Identifier: 0BSD
3 ///////////////////////////////////////////////////////////////////////////////
5 /// \file block_buffer_encoder.h
6 /// \brief Single-call .xz Block encoder
8 // Author: Lasse Collin
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef LZMA_BLOCK_BUFFER_ENCODER_H
13 #define LZMA_BLOCK_BUFFER_ENCODER_H
18 /// uint64_t version of lzma_block_buffer_bound(). It is used by
19 /// stream_encoder_mt.c. Probably the original lzma_block_buffer_bound()
20 /// should have been 64-bit, but fixing it would break the ABI.
21 extern uint64_t lzma_block_buffer_bound64(uint64_t uncompressed_size
);