示例#1
0
 /// <summary>
 /// I don't know what this does!
 /// </summary>
 /// <returns>Z_OK if everything goes well.</returns>
 public int SyncInflate()
 {
     if (istate == null)
     {
         throw new ZlibException("No Inflate State!");
     }
     return(istate.Sync());
 }
示例#2
0
文件: ZlibCodec.cs 项目: tvrjcf/Demo
 /// <summary>
 /// 异步处理。
 /// </summary>
 /// <returns>如果正常返回 ZlibState.Success 。</returns>
 public ZlibState SyncInflate()
 {
     Thrower.ThrowZlibExceptionIf(IState == null, "没有初始化 Inflate 状态。");
     return(IState.Sync());
 }