changeset 338:ecb375fd8f95

update for tango
author Frank Benoit <benoit@tionex.de>
date Wed, 11 Mar 2009 22:29:03 +0100
parents 9041f892283b
children 210994f12c4c
files dwt/dwthelper/InflaterInputStream.d
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/dwthelper/InflaterInputStream.d	Thu Feb 19 17:20:18 2009 +0100
+++ b/dwt/dwthelper/InflaterInputStream.d	Wed Mar 11 22:29:03 2009 +0100
@@ -30,8 +30,13 @@
         int res = istr.read( cast(byte[])dst );
         return res;
     }
-    void[] load (void[] dst = null) {
-            return Conduit.load (this, dst);
+
+    IOStream flush () {
+            return this;
+    }
+
+    void[] load ( size_t max = -1 ) {
+            return Conduit.load (this, max);
     }
 
     tango.io.model.IConduit.InputStream clear (){