From c6c5c24b5939c4411d597300ef20b2517f3eb841 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 27 Apr 2004 12:05:39 +0000 Subject: Adding a small 'reset' feature in Buffer --- include/Buffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/Buffer.h b/include/Buffer.h index 6ca41cc..b7987dd 100644 --- a/include/Buffer.h +++ b/include/Buffer.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Buffer.h,v 1.16 2003-12-04 04:09:02 pixel Exp $ */ +/* $Id: Buffer.h,v 1.17 2004-04-27 12:05:39 pixel Exp $ */ #ifndef __BUFFER_H__ #define __BUFFER_H__ @@ -50,6 +50,7 @@ class Buffer : public Handle { Byte & operator[](size_t); off_t wseek(off_t, int = SEEK_SET) throw (GeneralException); off_t wtell() const; + void reset(); private: Byte * buffer, zero; -- cgit v1.2.3