2418N/A * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * This class implements a stream filter for writing compressed data in 0N/A * the GZIP file format. 0N/A * @author David Connelly 0N/A * CRC-32 of uncompressed data. 0N/A * GZIP header magic number. 0N/A * Trailer size in bytes. 0N/A * Creates a new output stream with the specified buffer size. 2398N/A * <p>The new output stream instance is created as if by invoking 2398N/A * the 3-argument constructor GZIPOutputStream(out, size, false). 0N/A * @param out the output stream 0N/A * @param size the output buffer size 0N/A * @exception IOException If an I/O error has occurred. 0N/A * @exception IllegalArgumentException if size is <= 0 2398N/A * Creates a new output stream with the specified buffer size and 2398N/A * @param out the output stream 2398N/A * @param size the output buffer size 2398N/A * if {@code true} invocation of the inherited 2398N/A * {@link DeflaterOutputStream#flush() flush()} method of 2398N/A * this instance flushes the compressor with flush mode 2398N/A * {@link Deflater#SYNC_FLUSH} before flushing the output 2398N/A * stream, otherwise only flushes the output stream 2398N/A * @exception IOException If an I/O error has occurred. 2398N/A * @exception IllegalArgumentException if size is <= 0 0N/A * Creates a new output stream with a default buffer size. 2398N/A * <p>The new output stream instance is created as if by invoking 2398N/A * the 2-argument constructor GZIPOutputStream(out, false). 0N/A * @param out the output stream 0N/A * @exception IOException If an I/O error has occurred. 2398N/A * Creates a new output stream with a default buffer size and 2398N/A * the specified flush mode. 2398N/A * @param out the output stream 2398N/A * if {@code true} invocation of the inherited 2398N/A * {@link DeflaterOutputStream#flush() flush()} method of 2398N/A * this instance flushes the compressor with flush mode 2398N/A * {@link Deflater#SYNC_FLUSH} before flushing the output 2398N/A * stream, otherwise only flushes the output stream 2398N/A * @exception IOException If an I/O error has occurred. 0N/A * Writes array of bytes to the compressed output stream. This method 0N/A * will block until all the bytes are written. 0N/A * @param buf the data to be written 0N/A * @param off the start offset of the data 0N/A * @param len the length of the data 0N/A * @exception IOException If an I/O error has occurred. 0N/A * Finishes writing compressed data to the output stream without closing 0N/A * the underlying stream. Use this method when applying multiple filters 0N/A * in succession to the same output stream. 0N/A * @exception IOException if an I/O error has occurred 0N/A // last deflater buffer. Fit trailer at the end 0N/A // if we can't fit the trailer at the end of the last 0N/A // deflater buffer, we write it separately 0N/A * Writes GZIP member header. 2399N/A 0,
// Modification time MTIME (int) 2399N/A 0,
// Modification time MTIME (int) 2399N/A 0,
// Modification time MTIME (int) 2399N/A 0,
// Modification time MTIME (int) 0N/A * Writes GZIP member trailer to a byte array, starting at a given 0N/A * Writes integer in Intel byte order to a byte array, starting at a 0N/A * Writes short integer in Intel byte order to a byte array, starting