Mercurial > projects > dwt-win
view dwt/dwthelper/OutputStream.d @ 338:ecb375fd8f95
update for tango
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 11 Mar 2009 22:29:03 +0100 |
parents | 32a6819fef61 |
children |
line wrap: on
line source
/** * Authors: Frank Benoit <keinfarbton@googlemail.com> */ module dwt.dwthelper.OutputStream; import dwt.dwthelper.utils; public abstract class OutputStream { public this(){ } public abstract void write( int b ); public void write( byte[] b ){ foreach( bv; b ){ write(bv); } } public void write( byte[] b, int off, int len ){ write(b[off .. off+len]); } public void flush(){ } public void close(){ } }