blob: 7f41509068969d64d67283491430d1c0e3848330 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <util/generic/yexception.h>
#include <util/stream/input.h>
namespace NYql {
class TDownloadError : public yexception {
};
class TDownloadStream : public IInputStream {
public:
explicit TDownloadStream(IInputStream& delegatee);
private:
size_t DoRead(void* buf, size_t len) override;
private:
IInputStream& Delegatee_;
};
}
|