diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Buffer.h b/include/Buffer.h index 8996b2d..fb2cab4 100644 --- a/include/Buffer.h +++ b/include/Buffer.h @@ -27,10 +27,12 @@ class Buffer : public Handle { virtual off_t tell() const; Byte operator[](size_t) const; Byte & operator[](size_t); + off_t wseek(off_t, int = SEEK_SET) throw (GeneralException); + off_t wtell() const; private: Byte * buffer, zero; - size_t realsiz, bufsiz, ptr; + size_t realsiz, bufsiz, ptr, wptr; bool seekable; }; |