我正在寻找一种在Windows Phone上解压缩字符串的方法。发现this thread,但GZipStream类在WP上不可用。你能推荐我看看吗?在Windows Phone上解压缩字符串
UPD:Here is the solution using SharpZipLib
我正在寻找一种在Windows Phone上解压缩字符串的方法。发现this thread,但GZipStream类在WP上不可用。你能推荐我看看吗?在Windows Phone上解压缩字符串
UPD:Here is the solution using SharpZipLib
看一看SharpGIS's really small Zip utility。我从来没有使用它,但它可能适合你。
DotNetZip似乎有一个Silverlight端口,(包含GZipStream.cs)
http://dotnetzip.codeplex.com/releases/view/68268
您可以检查它是否能帮助你解压缩的字符串。
已经做到了。这不是我正在寻找的(仅适用于文件)。 – kazarindn 2012-04-02 09:58:05
对流不适用?在这种情况下,您可以将字符串写入流(使用StreamWriter)并解压缩。 – gbanfill 2012-04-02 10:02:13
是的,你是对的。谢谢。 – kazarindn 2012-04-03 07:48:59