diff options
author | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-30 13:26:22 +0300 |
---|---|---|
committer | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-30 15:44:45 +0300 |
commit | 0a98fece5a9b54f16afeb3a94b3eb3105e9c3962 (patch) | |
tree | 291d72dbd7e9865399f668c84d11ed86fb190bbf /library/cpp/ucompress/reader.h | |
parent | cb2c8d75065e5b3c47094067cb4aa407d4813298 (diff) | |
download | ydb-0a98fece5a9b54f16afeb3a94b3eb3105e9c3962.tar.gz |
YQ Connector:Use docker-compose in integrational tests
Diffstat (limited to 'library/cpp/ucompress/reader.h')
-rw-r--r-- | library/cpp/ucompress/reader.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/library/cpp/ucompress/reader.h b/library/cpp/ucompress/reader.h new file mode 100644 index 0000000000..5a5d1c9a89 --- /dev/null +++ b/library/cpp/ucompress/reader.h @@ -0,0 +1,25 @@ +#pragma once + +#include <util/generic/buffer.h> +#include <util/stream/walk.h> + + +namespace NBlockCodecs { + struct ICodec; +} + +namespace NUCompress { + class TDecodedInput: public IWalkInput { + public: + TDecodedInput(IInputStream* in); + ~TDecodedInput() override; + + private: + size_t DoUnboundedNext(const void** ptr) override; + + private: + IInputStream* const S_; + const NBlockCodecs::ICodec* C_ = nullptr; + TBuffer D_; + }; +} |