GZIPInputStream to String
问题 First of all, I'm sorry if my terminology is a bit amateur, try to bear with me ;) 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 GZIPInputStream. I now want to read the GZIPInputStream and store the final decompressed HTTP response body as a plaintext String. This code will store the final decompressed contents in an OutputStream, but I want to