Mercurial > projects > dwt2
view base/src/java/io/OutputStream.d @ 107:e944a4cf537b
Updated to dmd 1.063 and Tango trunk.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sun, 22 Aug 2010 18:53:29 +0200 |
parents | 1bf55a6eb092 |
children | 536e43f63c81 |
line wrap: on
line source
/** * Authors: Frank Benoit <keinfarbton@googlemail.com> */ module java.io.OutputStream; import java.lang.all; 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(){ } }