gzipinputstream
Gets the uncompressed size of this GZIPInputStream?
I have a GZIPInputStream that I constructed from anoth开发者_StackOverflower ByteArrayInputStream. I want to know the original (uncompressed) length for the gzip data. Although I can read to the end o[详细]
2023-04-03 01:55 分类:问答GZIPInputStream end-of-file sequence in BufferedReader
I use a Java BufferedReader object read, line-by-line, a GZIPInputStream that points to a valid GZIP archive that contains 1,000 lines of ASCII text, in typical CSV format. The code looks like this:[详细]
2023-03-16 02:12 分类:问答Uploading large gzipped data files to HDFS
I have a use case where I want to upload big gzipped text data files (~ 60 GB) on HDFS. My code below is taking about 2 hours to upload these files in chunks of 500 MB. Following is the pseudo code.[详细]
2023-03-14 13:47 分类:问答Is this a bug in the Java GZipInputStream class?
I noticed that some of my gzip decoding code seemed to be failing to detect corrupted data.I think that I have traced the problem to the Java GZipInputStream class.In particular, it seems that when yo[详细]
2023-02-16 12:30 分类:问答GZIPInputStream fails with IOException in Android 2.3, but works fine in all previous releases?
I updated my phone to Gingerbread today (2.3.2) and fired up an app I developed and saw that it failed to load its data.The app runs fine on every other version of Android I have tested from 1.6 to 2.[详细]
2023-02-13 12:14 分类:问答GZIPInputStream to String
I am attempting to convert the gzipped body of a HTTP response to plaintext. I\'ve taken the byte array of this response and converted it to a ByteArrayInputStream. I\'ve then converted this to a GZIP[详细]
2023-01-15 01:29 分类:问答How do I get Java to use my multi-core processor with GZIPInputStream?
I\'m using a GZIPInputStream in my program, and I know that the performance would be helped if I could get Java running my program in parallel.[详细]
2022-12-15 10:21 分类:问答