Move implementation of De/Inflater.getBytesRead/Writtten() to java level from native (which use zlib's z_stream.total_in/out fields, and these two fields have 4G limit) to avoid patch the zlib source code directly to support > 4G compression/decompression.
|