GZIPOutputStream.java (write(byte[])): New method.
* java/util/zip/GZIPOutputStream.java (write(byte[])): New method. From-SVN: r27031
This commit is contained in:
parent
ab3a6dd6e2
commit
2d40265fda
@ -1,5 +1,8 @@
|
||||
1999-05-19 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java/util/zip/GZIPOutputStream.java (write(byte[])): New
|
||||
method.
|
||||
|
||||
* java/util/zip/natInflater.cc (inflate): Cast `len' to unsigned.
|
||||
Include <stdlib.h>.
|
||||
* java/util/zip/natDeflater.cc (deflate): Cast `len' to unsigned.
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user