summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 92a7566..a648924 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -22,6 +22,8 @@ public:
size_t read(void* data, size_t max);
void write(void const* data, size_t size);
+ void clear();
+
protected:
Buffer() {}
Buffer(Buffer const&) = delete;