summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2004-04-27 12:05:39 +0000
committerpixel <pixel>2004-04-27 12:05:39 +0000
commitc6c5c24b5939c4411d597300ef20b2517f3eb841 (patch)
tree3a712a42e834af7f0aa972bbb5f78df30de7a3a4
parentc5f2cd8f54bdd7be60dca04071868216ca897726 (diff)
Adding a small 'reset' feature in Buffer
-rw-r--r--include/Buffer.h3
1 files changed, 2 insertions, 1 deletions
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;