Commit f2c28d28 authored by Max Kellermann's avatar Max Kellermann

DecoderBuffer: struct to class

parent 90c228ab
...@@ -34,12 +34,13 @@ class InputStream; ...@@ -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.
* *
......
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