GZIPOutputStream.java (write(byte[])): New method.

* java/util/zip/GZIPOutputStream.java (write(byte[])): New
	method.

From-SVN: r27031
This commit is contained in:
Tom Tromey 1999-05-19 12:35:06 +00:00 committed by Tom Tromey
parent ab3a6dd6e2
commit 2d40265fda
2 changed files with 8 additions and 0 deletions

View file

@ -62,6 +62,11 @@ public class GZIPOutputStream extends DeflaterOutputStream
crc = new CRC32 ();
}
public synchronized void write (byte[] buf) throws IOException
{
write (buf, 0, buf.length);
}
public synchronized void write (byte[] buf, int off, int len)
throws IOException
{