diff dwt/dwthelper/InflaterInputStream.d @ 262:e10de397beb1

ADD version TANGOSVN
author Frank Benoit <benoit@tionex.de>
date Sun, 06 Jul 2008 15:33:12 +0200
parents 116d23207a86
children d472fae79005
line wrap: on
line diff
--- a/dwt/dwthelper/InflaterInputStream.d	Thu Jul 03 21:20:33 2008 +0200
+++ b/dwt/dwthelper/InflaterInputStream.d	Sun Jul 06 15:33:12 2008 +0200
@@ -7,7 +7,9 @@
 import dwt.dwthelper.utils;
 import tango.io.Stdout;
 import tango.io.compress.ZlibStream;
-
+version(TANGOSVN)
+    import tango.io.Conduit;
+}
 class InputStreamWrapper : tango.io.model.IConduit.InputStream {
 
     dwt.dwthelper.InputStream.InputStream istr;
@@ -20,6 +22,12 @@
         int res = istr.read( cast(byte[])dst );
         return res;
     }
+version(TANGOSVN)
+    void[] load (void[] dst = null) {
+            return Conduit.load (this, dst);
+    }
+}
+
 
     tango.io.model.IConduit.InputStream clear (){
         return this;