Commit 806bf0be authored by Max Kellermann's avatar Max Kellermann

decoder/Reader: add methods GetDecoder(), GetInputStream()

parent 958506a1
......@@ -39,6 +39,14 @@ public:
DecoderReader(Decoder &_decoder, InputStream &_is)
:decoder(_decoder), is(_is) {}
Decoder &GetDecoder() {
return decoder;
}
InputStream &GetInputStream() {
return is;
}
/* virtual methods from class Reader */
size_t Read(void *data, size_t size) override;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment