DecoderBuffer: struct to class
This commit is contained in:
parent
90c228abca
commit
f2c28d287a
@ -34,12 +34,13 @@ class InputStream;
|
|||||||
* create a buffer object, and use its high-level methods to fill and
|
* create a buffer object, and use its high-level methods to fill and
|
||||||
* read it. It will automatically handle shifting the buffer.
|
* read it. It will automatically handle shifting the buffer.
|
||||||
*/
|
*/
|
||||||
struct DecoderBuffer {
|
class DecoderBuffer {
|
||||||
Decoder *const decoder;
|
Decoder *const decoder;
|
||||||
InputStream &is;
|
InputStream &is;
|
||||||
|
|
||||||
DynamicFifoBuffer<uint8_t> buffer;
|
DynamicFifoBuffer<uint8_t> buffer;
|
||||||
|
|
||||||
|
public:
|
||||||
/**
|
/**
|
||||||
* Creates a new buffer.
|
* Creates a new buffer.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user