comparison dwt/dwthelper/InflaterInputStream.d @ 0:380af2bdd8e5

Upload of whole dwt tree
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Sat, 09 Aug 2008 17:00:02 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:380af2bdd8e5
1 /**
2 * Authors: Frank Benoit <keinfarbton@googlemail.com>
3 */
4 module dwt.dwthelper.InflaterInputStream;
5
6 public import dwt.dwthelper.InputStream;
7 import dwt.dwthelper.utils;
8
9 public class InflaterInputStream : dwt.dwthelper.InputStream.InputStream {
10
11 alias dwt.dwthelper.InputStream.InputStream.read read;
12 alias dwt.dwthelper.InputStream.InputStream.skip skip;
13 alias dwt.dwthelper.InputStream.InputStream.available available;
14 alias dwt.dwthelper.InputStream.InputStream.close close;
15 alias dwt.dwthelper.InputStream.InputStream.mark mark;
16 alias dwt.dwthelper.InputStream.InputStream.reset reset;
17 alias dwt.dwthelper.InputStream.InputStream.markSupported markSupported;
18
19 protected byte[] buf;
20 protected int len;
21 package bool usesDefaultInflater = false;
22
23 public this ( dwt.dwthelper.InputStream.InputStream istr ){
24 }
25
26 public int read(){
27 implMissing( __FILE__, __LINE__ );
28 return 0;
29 }
30
31 public int read( byte[] b, int off, int len ){
32 implMissing( __FILE__, __LINE__ );
33 return 0;
34 }
35
36 public int available(){
37 implMissing( __FILE__, __LINE__ );
38 return 0;
39 }
40
41 public long skip( long n ){
42 implMissing( __FILE__, __LINE__ );
43 return 0L;
44 }
45
46 public void close(){
47 implMissing( __FILE__, __LINE__ );
48 }
49
50 public void fill(){
51 implMissing( __FILE__, __LINE__ );
52 }
53
54 public bool markSupported(){
55 implMissing( __FILE__, __LINE__ );
56 return false;
57 }
58
59 public synchronized void mark( int readlimit ){
60 implMissing( __FILE__, __LINE__ );
61 }
62
63 public synchronized void reset(){
64 implMissing( __FILE__, __LINE__ );
65 }
66 }
67
68