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

This commit is contained in:
Max Kellermann 2016-05-13 11:27:06 +02:00
parent 958506a108
commit 806bf0be8d
1 changed files with 8 additions and 0 deletions

View File

@ -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;
};