summaryrefslogtreecommitdiff
path: root/include/Buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Buffer.h')
-rw-r--r--include/Buffer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Buffer.h b/include/Buffer.h
index 5b35139..cf6481f 100644
--- a/include/Buffer.h
+++ b/include/Buffer.h
@@ -21,9 +21,12 @@ class Buffer : public Handle {
virtual String GetName();
virtual Buffer operator=(const Buffer &);
virtual bool CanWatch();
+ virtual ssize_t GetSize();
+ char operator[](size_t) const;
+ char & operator[](size_t);
private:
- char * buffer;
+ char * buffer, zero;
int realsiz, bufsiz, ptr;
};