ZLibInputStream

If noWrap is true, the decompressor will assume that the
ZLib 16 bit header and the 32 bit trailer checksum are not included in the
underlying input stream. This mode is necessary for PKZip/Info-ZIP and GZIP
compatibility.

Parameters:

inputStream - Underlying input stream to use.

noWrap - If true, the header and trailer are not present in the underlying input stream.

ZLibInputStream

If noWrap is true, the decompressor will assume that the
ZLib 16 bit header and the 32 bit trailer checksum are not included in the
underlying input stream. This mode is necessary for PKZip/Info-ZIP and GZIP
compatibility.

Parameters:

inputStream - Underlying input stream to use.

noWrap - If true, the header and trailer are not present in the underlying input stream.

workingBufferSize - The buffer size to use for the read window; cannot be less than 1024.

Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.Java is a trademark of Oracle America Inc. in the US and other countries.Legal