开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
master
分支 (9)
标签 (4)
master
dev
fix_mtime
concatenated_gzip_streams
AIOOBE_in_Tree.d_code
DEF_WBITS+32
incorporate_netty_fixes
contention_in_Tree
gzip_header_with_writing_0byte
1.1.3
1.1.2
1.1.1
1.1.0
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause
JZlib
 zlib in pure Java(TM)
 by ymnk@jcraft.com, JCraft,Inc.
 http://www.jcraft.com/jzlib/
Last modified: Mon Sep 19 15:28:43 UTC 2011
Description
===========
JZlib is a re-implementation of zlib in pure Java.
The first and final aim for hacking this stuff is
to add the packet compression support to pure Java SSH systems.
Documentation
=============
* README files all over the source tree have info related to the stuff
 in the directories. 
* ChangeLog: what changed from the previous version?
* LICENSE.txt
Directories & Files in the Source Tree
======================================
* src/main/java has source trees of JZlib.
* example/ has some samples, which demonstrate the usages.
* misc/ has some stuffs. At present, this directory includes
 a patch file for MindTerm v.1.2.1, which adds the packet compression
 functionality.
Features
========
* Needless to say, JZlib can inflate data, which is deflated by zlib and
 JZlib can generate deflated data, which is acceptable and inflated by zlib.
* JZlib supports all compression level and all flushing mode in zlib. 
* JZlib does not support gzip file handling supports.
* The performance has not been estimated yet, but it will be not so bad
 in deflating/inflating data stream on the low bandwidth network.
* JZlib is under BSD style license.
* Any invention has not been done in developing JZlib.
 So, if zlib is patent free, JZlib is also not covered by any patents.
Why JZlib?
==========
Java Platform API provides packages 'java.util.zip.*' for
accessing to zlib, but that support is very limited 
if you need to use the essence of zlib. For example,
we needed to full access to zlib to add the packet compression
support to pure Java SSH system, but they are useless for our requirements.
The Internet draft, SSH Transport Layer Protocol, says in the section '4.2 Compression' as follows,
 The following compression methods are currently defined:
 none REQUIRED no compression
 zlib OPTIONAL GNU ZLIB (LZ77) compression
 The "zlib" compression is described in [RFC-1950] and in [RFC-1951]. The
 compression context is initialized after each key exchange, and is
 passed from one packet to the next with only a partial flush being
 performed at the end of each packet. A partial flush means that all data
 will be output, but the next packet will continue using compression
 tables from the end of the previous packet.
To implement this functionality, the Z_PARTIAL_FLUSH mode of zlib must be
used, however JDK does not permit us to do so. It seems that this problem has
been well known and some people have already reported to 
JavaSoft's BugParade(for example, BugId:4255743), 
but any positive response has not been returned from JavaSoft, 
so this problem will not be solved forever. 
This is our motivation to hack JZlib.
Building Jar File
=================
Use 'sbt'(https://github.com/harrah/xsbt/wiki),
 % sbt package
or
 % mvn package
or
 % cd src/main/java
 % javac -target 1.5 com/jcraft/jzlib/*.java
 % jar -cvf jzlib.jar com/jcraft/jzlib/*.class
A unofficial patch for MindTerm v.1.2.1
=======================================
A unofficial patch file for MindTerm v.1.2.1 has included in 'misc' directory.
It adds the packet compression support to MindTerm. 
Please refer to 'misc/README' file.
Copyrights & Disclaimers
========================
JZlib is copyrighted by ymnk, JCraft,Inc. and is licensed through BSD
style license. Read the LICENSE.txt file for the complete license.
Credits
=======
JZlib has been developed by ymnk@jcraft.com,
but he has just re-implemented zlib in pure Java.
So, all credit should go to authors Jean-loup Gailly and Mark Adler
and contributors of zlib. Here is the copyright notice of zlib version 1.1.3,
 |Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler
 |
 |This software is provided 'as-is', without any express or implied
 |warranty. In no event will the authors be held liable for any damages
 |arising from the use of this software.
 |
 |Permission is granted to anyone to use this software for any purpose,
 |including commercial applications, and to alter it and redistribute it
 |freely, subject to the following restrictions:
 |
 |1. The origin of this software must not be misrepresented; you must not
 | claim that you wrote the original software. If you use this software
 | in a product, an acknowledgment in the product documentation would be
 | appreciated but is not required.
 |2. Altered source versions must be plainly marked as such, and must not be
 | misrepresented as being the original software.
 |3. This notice may not be removed or altered from any source distribution.
 |
 |Jean-loup Gailly Mark Adler
 |jloup@gzip.org madler@alumni.caltech.edu
If you have any comments, suggestions and questions, write us 
at jzlib@jcraft.com
``SSH is a registered trademark and Secure Shell is a trademark of
SSH Communications Security Corp (www.ssh.com)''.
JZlib 0.0.* were released under the GNU LGPL license. Later, we have switched over to a BSD-style license. ------------------------------------------------------------------------------ Copyright (c) 2000-2011 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The names of the authors may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT, INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

jzip java zlib sourcecode
暂无标签
README
BSD-3-Clause
使用 BSD-3-Clause 开源许可协议
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/Kwolve/jzlib.git
git@gitee.com:Kwolve/jzlib.git
Kwolve
jzlib
jzlib
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /