#include <gzip.hpp>
Classes | |
struct | category |
Public Types | |
typedef char | char_type |
Public Member Functions | |
basic_gzip_compressor (const gzip_params &=gzip::default_compression, int buffer_size=default_device_buffer_size) | |
template<typename Source > | |
std::streamsize | read (Source &src, char_type *s, std::streamsize n) |
template<typename Sink > | |
std::streamsize | write (Sink &snk, const char_type *s, std::streamsize n) |
template<typename Sink > | |
void | close (Sink &snk, BOOST_IOS::openmode m) |
Private Types | |
typedef base_type::category | category |
typedef std::basic_string < char_type, traits_type, Alloc > | string_type |
Private Member Functions | |
zlib::ulong | crc () |
int | total_in () |
typedef | BOOST_IOSTREAMS_CHAR_TRAITS (char_type) traits_type |
std::streamsize | read (Source &src, char_type *s, std::streamsize n) |
std::streamsize | write (Sink &snk, const char_type *s, std::streamsize n) |
detail::zlib_compressor_impl < Alloc > & | filter () |
string_type | unconsumed_input () const |
typedef char boost::iostreams::basic_gzip_compressor< Alloc >::char_type |
boost::iostreams::basic_gzip_compressor< Alloc >::basic_gzip_compressor | ( | const gzip_params & | p = gzip::default_compression , |
int | buffer_size = default_device_buffer_size |
||
) |
References boost::iostreams::zlib::best_compression, boost::iostreams::gzip::extra_flags::best_compression, boost::iostreams::zlib::best_speed, boost::iostreams::gzip::extra_flags::best_speed, boost::iostreams::gzip::flags::comment, boost::iostreams::gzip::method::deflate, boost::iostreams::gzip::magic::id1, boost::iostreams::gzip::magic::id2, boost::iostreams::gzip::flags::name, and boost::iostreams::gzip::os_unknown.
|
inline |
References boost::iostreams::close(), boost::crc(), and boost::out.
|
inline |
References boost::asio::read().
|
inline |
References boost::iostreams::write(), and boost::asio::write().