Mercurial > projects > dwt-linux
view dwt/dwthelper/OutputStream.d @ 339:c317081df76f
Mozilla module complete (first phase complete)
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Sat, 25 Oct 2008 21:01:54 -0700 |
parents | cc1d3de0e80b |
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(){ } }