public class GZIPFooter extends java.lang.Object implements GZIPConstants
BYTES_IN_INT, BYTES_IN_SHORT, GZIP_COMPRESSION_METHOD_DEFLATE, GZIP_COMPRESSION_METHOD_IDX, GZIP_FEXTRA_LENGTH_BYTES, GZIP_FEXTRA_LENGTH_IDX, GZIP_FEXTRA_NAME_BYTES, GZIP_FEXTRA_NAME_IDX, GZIP_FEXTRA_VALUE_IDX, GZIP_FEXTRA_VALUE_MAX_LENGTH, GZIP_FLAG_FCOMMENT, GZIP_FLAG_FEXTRA, GZIP_FLAG_FHCRC, GZIP_FLAG_FNAME, GZIP_FLAG_FTEXT, GZIP_FLAG_IDX, GZIP_FLAG_VALID_BITS, GZIP_FOOTER_BYTES, GZIP_MAGIC_ONE, GZIP_MAGIC_ONE_IDX, GZIP_MAGIC_TWO, GZIP_MAGIC_TWO_IDX, GZIP_MTIME_IDX, GZIP_MTIME_LENGTH, GZIP_OS_IDX, GZIP_OS_UNIX, GZIP_STATIC_FOOTER_SIZE, GZIP_STATIC_HEADER_SIZE, GZIP_XFL_IDX, LX_RECORD, LX_RECORD_VALUE, NO_BYTES_IN_STREAM, SL_RECORD| Constructor and Description |
|---|
GZIPFooter(byte[] buffer) |
GZIPFooter(long crc,
long length) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCRC() |
long |
getLength() |
void |
verify(long crc,
long length) |
void |
writeBytes(java.io.OutputStream os) |
public GZIPFooter(byte[] buffer)
throws GZIPFormatException
GZIPFormatExceptionpublic GZIPFooter(long crc,
long length)
public long getCRC()
public long getLength()
public void verify(long crc,
long length)
throws GZIPFormatException
GZIPFormatExceptionpublic void writeBytes(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.