Update GZIPSerializer.java
This commit is contained in:
parent
2cf7d9eb5a
commit
7b6a742f0f
@ -88,7 +88,7 @@ public class GZIPSerializer extends Serializer {
|
||||
GZIPOutputStream gzipOutput = new GZIPOutputStream(byteArrayOutput);
|
||||
|
||||
tempBuffer.flip();
|
||||
gzipOutput.write(tempBuffer.array(), 0, tempBuffer.limit());
|
||||
gzipOutput.write(tempBuffer.array(), 0, tempBuffer.limit());
|
||||
gzipOutput.flush();
|
||||
gzipOutput.finish();
|
||||
gzipOutput.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user