public static byte[] compressForZlib(String stringToCompress){
  byte[] returnValues=null;
  try {
    returnValues=compressForZlib(stringToCompress.getBytes("UTF-8"));
  }
 catch (  UnsupportedEncodingException uee) {
    uee.printStackTrace();
  }
  return returnValues;
}

public static byte [ ] compressForZlib ( String stringToCompress ) { byte [ ] returnValues = null ; try { returnValues = compressForZlib ( stringToCompress . getBytes ( "UTF-8" ) ) ; } catch ( UnsupportedEncodingException uee ) { uee . printStackTrace ( ) ; } return returnValues ; }
zlib compress 2 byte
