Mercurial > projects > dwt-win
annotate dwt/dwthelper/ByteArrayOutputStream.d @ 212:ab60f3309436
reverted the char[] to String and use the an alias.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:12:38 +0200 |
parents | 5406a8f6526d |
children | 32a6819fef61 |
rev | line source |
---|---|
0 | 1 /** |
2 * Authors: Frank Benoit <keinfarbton@googlemail.com> | |
3 */ | |
4 module dwt.dwthelper.ByteArrayOutputStream; | |
5 | |
6 public import dwt.dwthelper.OutputStream; | |
7 import dwt.dwthelper.utils; | |
8 | |
9 public class ByteArrayOutputStream : dwt.dwthelper.OutputStream.OutputStream { | |
10 | |
11 alias dwt.dwthelper.OutputStream.OutputStream.write write; | |
12 | |
13 protected byte[] buf; | |
14 protected int count; | |
15 public this (){ | |
16 } | |
17 | |
18 public this ( int par_size ){ | |
19 } | |
20 | |
21 public synchronized void write( int b ){ | |
22 implMissing( __FILE__, __LINE__ ); | |
23 } | |
24 | |
25 public synchronized void write( byte[] b, int off, int len ){ | |
26 implMissing( __FILE__, __LINE__ ); | |
27 } | |
28 | |
29 public synchronized void writeTo( dwt.dwthelper.OutputStream.OutputStream out_KEYWORDESCAPE ){ | |
30 implMissing( __FILE__, __LINE__ ); | |
31 } | |
32 | |
33 public synchronized void reset(){ | |
34 implMissing( __FILE__, __LINE__ ); | |
35 } | |
36 | |
37 public synchronized byte[] toByteArray(){ | |
38 implMissing( __FILE__, __LINE__ ); | |
39 return null; | |
40 } | |
41 | |
42 public int size(){ | |
43 implMissing( __FILE__, __LINE__ ); | |
44 return 0; | |
45 } | |
46 | |
212
ab60f3309436
reverted the char[] to String and use the an alias.
Frank Benoit <benoit@tionex.de>
parents:
0
diff
changeset
|
47 public override String toString(){ |
0 | 48 implMissing( __FILE__, __LINE__ ); |
49 return null; | |
50 } | |
51 | |
212
ab60f3309436
reverted the char[] to String and use the an alias.
Frank Benoit <benoit@tionex.de>
parents:
0
diff
changeset
|
52 public String toString( String enc ){ |
0 | 53 implMissing( __FILE__, __LINE__ ); |
54 return null; | |
55 } | |
56 | |
212
ab60f3309436
reverted the char[] to String and use the an alias.
Frank Benoit <benoit@tionex.de>
parents:
0
diff
changeset
|
57 public String toString( int hibyte ){ |
0 | 58 implMissing( __FILE__, __LINE__ ); |
59 return null; | |
60 } | |
61 | |
62 public override void close(){ | |
63 implMissing( __FILE__, __LINE__ ); | |
64 } | |
65 | |
66 | |
67 } | |
68 | |
69 |