Mercurial > projects > dwt-win
comparison dwt/dwthelper/FileInputStream.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 | 8d53428f9be0 |
comparison
equal
deleted
inserted
replaced
211:ff59aeb96cac | 212:ab60f3309436 |
---|---|
21 private int buf_pos; | 21 private int buf_pos; |
22 private int buf_size; | 22 private int buf_size; |
23 private const int BUFFER_SIZE = 0x10000; | 23 private const int BUFFER_SIZE = 0x10000; |
24 private bool eof; | 24 private bool eof; |
25 | 25 |
26 public this ( char[] name ){ | 26 public this ( String name ){ |
27 conduit = new FileConduit( name ); | 27 conduit = new FileConduit( name ); |
28 buffer = new ubyte[]( BUFFER_SIZE ); | 28 buffer = new ubyte[]( BUFFER_SIZE ); |
29 } | 29 } |
30 | 30 |
31 public this ( dwt.dwthelper.File.File file ){ | 31 public this ( dwt.dwthelper.File.File file ){ |