diff options
Diffstat (limited to 'FoundationEx/src/reader/buffer.h')
-rw-r--r-- | FoundationEx/src/reader/buffer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/FoundationEx/src/reader/buffer.h b/FoundationEx/src/reader/buffer.h index c36310a..532a8f9 100644 --- a/FoundationEx/src/reader/buffer.h +++ b/FoundationEx/src/reader/buffer.h @@ -7,6 +7,7 @@ #pragma once #include <starshatter/foundation/reader.h> +#include <Text.h> namespace starshatter @@ -35,12 +36,12 @@ struct BufferReader : public BaseReader<char> Count read(char* dest, Count bytes) override; Count peek(char* dest) const override; Count peek(char* dest, Count bytes) const override; - const char* data() const override; + Text more() override; private: - Source buffer; - Count size; - Count position; + Source buffer = {}; + Count size = {}; + Count position = {}; }; |