com.cliffblaster.game.net
Class CompressionUtil

java.lang.Object
  extended by com.cliffblaster.game.net.CompressionUtil

public class CompressionUtil
extends java.lang.Object


Constructor Summary
CompressionUtil()
           
 
Method Summary
static byte[] compress(byte[] data)
           
static byte[] unCompress(byte[] data, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressionUtil

public CompressionUtil()
Method Detail

compress

public static byte[] compress(byte[] data)
                       throws java.io.IOException
Throws:
java.io.IOException

unCompress

public static byte[] unCompress(byte[] data,
                                int length)
                         throws java.io.IOException
Throws:
java.io.IOException