gpt4 book ai didi

com.jcraft.jzlib.ZStream.deflateInit()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-15 15:38:40 25 4
gpt4 key购买 nike

本文整理了Java中com.jcraft.jzlib.ZStream.deflateInit()方法的一些代码示例,展示了ZStream.deflateInit()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZStream.deflateInit()方法的具体详情如下:
包路径:com.jcraft.jzlib.ZStream
类名称:ZStream
方法名:deflateInit

ZStream.deflateInit介绍

暂无

代码示例

代码示例来源:origin: google/sagetv

public ZInputStream(InputStream in, int level) {
 super(in);
 this.in=in;
 z.deflateInit(level);
 compress=true;
 z.next_in=buf;
 z.next_in_index=0;
 z.avail_in=0;
}

代码示例来源:origin: com.jcraft.jzlib/com.springsource.com.jcraft.jzlib

public ZOutputStream(OutputStream out, int level, boolean nowrap) {
 super();
 this.out=out;
 z.deflateInit(level, nowrap);
 compress=true;
}

代码示例来源:origin: com.jcraft/jzlib

public int deflateInit(int level, int bits){
 return deflateInit(level, bits, false);
}
public int deflateInit(int level, int bits, int memlevel, JZlib.WrapperType wrapperType){

代码示例来源:origin: google/sagetv

public ZOutputStream(OutputStream out, int level, boolean nowrap) {
 super();
 this.out=out;
 z.deflateInit(level, nowrap);
 compress=true;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jzlib

public int deflateInit(int level, int bits){
 return deflateInit(level, bits, false);
}
public int deflateInit(int level, int bits, int memlevel, JZlib.WrapperType wrapperType){

代码示例来源:origin: com.jcraft.jzlib/com.springsource.com.jcraft.jzlib

public int deflateInit(int level, int bits){
 return deflateInit(level, bits, false);
}
public int deflateInit(int level, int bits, boolean nowrap){

代码示例来源:origin: jzlib/jzlib

public ZOutputStream(OutputStream out, int level) {
 super();
 this.out=out;
 z.deflateInit(level);
 compress=true;
}

代码示例来源:origin: com.jcraft.jzlib/com.springsource.com.jcraft.jzlib

public ZInputStream(InputStream in, int level) {
 super(in);
 this.in=in;
 z.deflateInit(level);
 compress=true;
 z.next_in=buf;
 z.next_in_index=0;
 z.avail_in=0;
}

代码示例来源:origin: jzlib/jzlib

public ZInputStream(InputStream in, int level) {
 super(in);
 this.in=in;
 z.deflateInit(level);
 compress=true;
 z.next_in=buf;
 z.next_in_index=0;
 z.avail_in=0;
}

代码示例来源:origin: google/sagetv

public int deflateInit(int level, boolean nowrap){
 return deflateInit(level, MAX_WBITS, nowrap);
}
public int deflateInit(int level, int bits){

代码示例来源:origin: google/sagetv

public int deflateInit(int level, int bits){
 return deflateInit(level, bits, false);
}
public int deflateInit(int level, int bits, boolean nowrap){

代码示例来源:origin: com.jcraft.jzlib/com.springsource.com.jcraft.jzlib

public int deflateInit(int level){
 return deflateInit(level, MAX_WBITS);
}
public int deflateInit(int level, boolean nowrap){

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jzlib

public int deflateInit(int level, boolean nowrap){
 return deflateInit(level, MAX_WBITS, nowrap);
}
public int deflateInit(int level, int bits){

代码示例来源:origin: is/jsch

public void init(int type, int level){
 if(type==DEFLATER){
  stream.deflateInit(level);
  this.type=DEFLATER;
 }
 else if(type==INFLATER){
  stream.inflateInit();
  inflated_buf=new byte[BUF_SIZE];
  this.type=INFLATER;
 }
}

代码示例来源:origin: groboclown/p4ic4idea

public RpcGZIPOutputStream(OutputStream out) throws IOException {
  super(out);
  this.jzOutputSream = new ZStream();
  this.jzOutputSream.deflateInit(JZlib.Z_DEFAULT_COMPRESSION, ZBITS, true);
  this.jzBytes = new byte[ZBUF_SIZE];
  this.jzOutputSream.next_out = this.jzBytes;
  this.jzOutputSream.next_out_index = 0;
  this.jzOutputSream.avail_out = this.jzBytes.length;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsch

public void init(int type, int level){
 if(type==DEFLATER){
  stream.deflateInit(level);
  this.type=DEFLATER;
 }
 else if(type==INFLATER){
  stream.inflateInit();
  inflated_buf=new byte[BUF_SIZE];
  this.type=INFLATER;
 }
}

代码示例来源:origin: org.mule.jsch/jsch

public void init(int type, int level){
 if(type==DEFLATER){
  stream.deflateInit(level);
  this.type=DEFLATER;
 }
 else if(type==INFLATER){
  stream.inflateInit();
  inflated_buf=new byte[BUF_SIZE];
  this.type=INFLATER;
 }
}

代码示例来源:origin: com.perforce/p4java

public RpcGZIPOutputStream(OutputStream out) throws IOException {
  super(out);
  this.jzOutputSream = new ZStream();
  this.jzOutputSream.deflateInit(JZlib.Z_DEFAULT_COMPRESSION, ZBITS, true);
  this.jzBytes = new byte[ZBUF_SIZE];
  this.jzOutputSream.next_out = this.jzBytes;
  this.jzOutputSream.next_out_index = 0;
  this.jzOutputSream.avail_out = this.jzBytes.length;
}

代码示例来源:origin: org.gridkit.lab/telecontrol-ssh

public void init(int type, int level){
 if(type==DEFLATER){
  stream.deflateInit(level);
  this.type=DEFLATER;
 }
 else if(type==INFLATER){
  stream.inflateInit();
  inflated_buf=new byte[BUF_SIZE];
  this.type=INFLATER;
 }
}

代码示例来源:origin: com.sshtools/maverick-common

public void init(int type, int level) {
  if(type == SshCompression.DEFLATER) {
   stream.deflateInit(level);
//      this.type = SshCompression.DEFLATER;
  }
  else if(type == SshCompression.INFLATER) {
   stream.inflateInit();
//      this.type = SshCompression.INFLATER;
  }
 }

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com