MinecraftConsoles/Minecraft.Client/Common/libs/bit7z/include/bitmemcompressor.hpp

28 lines
920 B
C++

/*
* bit7z - A C++ static library to interface with the 7-zip shared libraries.
* Copyright (c) 2014-2023 Riccardo Ostani - All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#ifndef BITMEMCOMPRESSOR_HPP
#define BITMEMCOMPRESSOR_HPP
#include "bitcompressor.hpp"
namespace bit7z {
/**
* @brief The BitMemCompressor alias allows compressing memory buffers.
* The compressed archives can be saved to the filesystem, standard streams, or memory buffers.
*
* It let decide various properties of the produced archive, such as the password
* protection and the compression level desired.
*/
using BitMemCompressor BIT7Z_MAYBE_UNUSED = BitCompressor< const std::vector< byte_t >& >;
} // namespace bit7z
#endif // BITMEMCOMPRESSOR_HPP