summaryrefslogtreecommitdiff
path: root/include/Buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Buffer.h')
-rw-r--r--include/Buffer.h4
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;
};