Update GZIPSerializer.java

experimental
AlrikG 10 years ago
parent 2cf7d9eb5a
commit 7b6a742f0f
  1. 2
      jme3-networking/src/main/java/com/jme3/network/serializing/serializers/GZIPSerializer.java

@ -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…
Cancel
Save