block_buffer_encoder.h 694 B

1234567891011121314151617181920212223
  1. // SPDX-License-Identifier: 0BSD
  2. ///////////////////////////////////////////////////////////////////////////////
  3. //
  4. /// \file block_buffer_encoder.h
  5. /// \brief Single-call .xz Block encoder
  6. //
  7. // Author: Lasse Collin
  8. //
  9. ///////////////////////////////////////////////////////////////////////////////
  10. #ifndef LZMA_BLOCK_BUFFER_ENCODER_H
  11. #define LZMA_BLOCK_BUFFER_ENCODER_H
  12. #include "common.h"
  13. /// uint64_t version of lzma_block_buffer_bound(). It is used by
  14. /// stream_encoder_mt.c. Probably the original lzma_block_buffer_bound()
  15. /// should have been 64-bit, but fixing it would break the ABI.
  16. extern uint64_t lzma_block_buffer_bound64(uint64_t uncompressed_size);
  17. #endif