#include <compressor.hpp>
Inherits libdar::generic_file.
Public Member Functions | |
| compression | get_algo () const |
| void | change_algo (compression new_algo, U_I new_compression_level) |
| changes compression algorithm used by the compressor | |
| void | change_algo (compression new_algo) |
| changes the compression algorithm keeping the same compression level | |
| bool | skip (const infinint &position) |
| skip at the absolute position | |
| bool | skip_to_eof () |
| skip to the end of file | |
| bool | skip_relative (S_I x) |
| skip relatively to the current position | |
| infinint | get_position () |
| get the current read/write position | |
Protected Member Functions | |
| S_I | inherited_read (char *a, size_t size) |
| S_I | inherited_write (char *a, size_t size) |
Definition at line 57 of file compressor.hpp.
| void libdar::compressor::change_algo | ( | compression | new_algo, | |
| U_I | new_compression_level | |||
| ) |
changes compression algorithm used by the compressor
| [in] | new_algo | defines the new algorithm to use |
| [in] | new_compression_level | defines the new compression level to use. |
Referenced by change_algo().
1.4.7