Mercurial > projects > dwt-win
diff dwt/internal/image/LEDataOutputStream.d @ 213:36f5cb12e1a2
Update to SWT 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 17 May 2008 17:34:28 +0200 |
parents | 9a64a7781bab |
children |
line wrap: on
line diff
--- a/dwt/internal/image/LEDataOutputStream.d Mon May 05 00:12:38 2008 +0200 +++ b/dwt/internal/image/LEDataOutputStream.d Sat May 17 17:34:28 2008 +0200 @@ -1,4 +1,4 @@ -/******************************************************************************* +/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -16,8 +16,11 @@ import dwt.dwthelper.OutputStream; final class LEDataOutputStream : OutputStream { + alias OutputStream.write write; + OutputStream ostr; + public this(OutputStream output) { this.ostr = output; } @@ -25,13 +28,13 @@ * Write the specified number of bytes of the given byte array, * starting at the specified offset, to the output stream. */ -override public void write(byte b[], int off, int len) { +public override void write(byte b[], int off, int len) { ostr.write(b, off, len); } /** * Write the given byte to the output stream. */ -override public void write(int b) { +public override void write(int b) { ostr.write(b); } /**