摘要:
1.C#代码(需要调用SharpZipLib):using System.IO;using System.Text;using ICSharpCode.SharpZipLib.Zip.Compression.Streams;namespace ConsoleApplicationDemo{ public class ZipHelper { /// <summary> /// 以Deflater方式压缩字符串,返回字节数组 /// </summary> /// <param name="sString"></param> /// 阅读全文
摘要:
package com.google.test;import java.lang.reflect.Array;import java.lang.reflect.Field;import java.lang.reflect.ParameterizedType;import java.lang.reflect.Type;import java.util.Collection;import org.json.JSONArray;import org.json.JSONException;import org.json.JSONObject;import org.json.JSONStringer;/ 阅读全文