| 29 | }; |
| 30 | |
| 31 | class TDecodedInput: public IWalkInput { |
| 32 | public: |
| 33 | TDecodedInput(IInputStream* in); |
| 34 | TDecodedInput(IInputStream* in, const ICodec* codec); |
| 35 | |
| 36 | ~TDecodedInput() override; |
| 37 | |
| 38 | private: |
| 39 | size_t DoUnboundedNext(const void** ptr) override; |
| 40 | |
| 41 | private: |
| 42 | TBuffer D_; |
| 43 | IInputStream* S_; |
| 44 | const ICodec* C_; |
| 45 | }; |
| 46 | } |