diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/streams/lzma/lzma.h | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/streams/lzma/lzma.h')
-rw-r--r-- | library/cpp/streams/lzma/lzma.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/library/cpp/streams/lzma/lzma.h b/library/cpp/streams/lzma/lzma.h index ca1e06e9ef..af5399c73c 100644 --- a/library/cpp/streams/lzma/lzma.h +++ b/library/cpp/streams/lzma/lzma.h @@ -1,37 +1,37 @@ #pragma once - -#include <util/stream/input.h> -#include <util/stream/output.h> -#include <util/stream/zerocopy.h> - -#include <util/generic/ptr.h> - + +#include <util/stream/input.h> +#include <util/stream/output.h> +#include <util/stream/zerocopy.h> + +#include <util/generic/ptr.h> + class TLzmaCompress: public IOutputStream { -public: +public: TLzmaCompress(IOutputStream* slave, size_t level = 7); ~TLzmaCompress() override; - -private: + +private: void DoWrite(const void* buf, size_t len) override; void DoFinish() override; - -private: - class TImpl; - THolder<TImpl> Impl_; -}; - + +private: + class TImpl; + THolder<TImpl> Impl_; +}; + class TLzmaDecompress: public IInputStream { -public: +public: TLzmaDecompress(IInputStream* slave); TLzmaDecompress(IZeroCopyInput* input); ~TLzmaDecompress() override; - -private: + +private: size_t DoRead(void* buf, size_t len) override; - -private: - class TImpl; - class TImplStream; - class TImplZeroCopy; - THolder<TImpl> Impl_; -}; + +private: + class TImpl; + class TImplStream; + class TImplZeroCopy; + THolder<TImpl> Impl_; +}; |