Sha256: e0287a3d2bfb9abb974f4ee4ce67cf67b6adf1015bed7e9ccf92b7d8715aa878
Contents?: true
Size: 883 Bytes
Versions: 1
Compression:
Stored size: 883 Bytes
Contents
/////////////////////////////////////////////////////////////////////////////// // /// \file stream_flags_common.h /// \brief Common stuff for Stream flags coders // // Author: Lasse Collin // // This file has been put into the public domain. // You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// #ifndef LZMA_STREAM_FLAGS_COMMON_H #define LZMA_STREAM_FLAGS_COMMON_H #include "common.h" /// Size of the Stream Flags field #define LZMA_STREAM_FLAGS_SIZE 2 extern const uint8_t lzma_header_magic[6]; extern const uint8_t lzma_footer_magic[2]; static inline bool is_backward_size_valid(const lzma_stream_flags *options) { return options->backward_size >= LZMA_BACKWARD_SIZE_MIN && options->backward_size <= LZMA_BACKWARD_SIZE_MAX && (options->backward_size & 3) == 0; } #endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
laag-xz-5.2.4.0 | vendor/git.tukaani.org/xz/src/liblzma/common/stream_flags_common.h |