| changeset 338: |
ecb375fd8f95 |
| parent 337: | 9041f892283b |
| child 339: | 210994f12c4c |
| author: |
Frank Benoit <benoit@tionex.de> |
| date: |
Wed Mar 11 22:29:03 2009 +0100 (3 years ago) |
| files: |
dwt/dwthelper/InflaterInputStream.d |
| description: |
update for tango |
--- 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 @@ class InputStreamWrapper : tango.io.mode
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 (){