gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-15 04:02:49 27 4
gpt4 key购买 nike

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

ZOutputStream.write介绍

暂无

代码示例

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

public void write(int b) throws IOException {
 buf1[0]=(byte)b;
 write(buf1, 0, 1);
}

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

public void write(int b) throws IOException {
 buf1[0]=(byte)b;
 write(buf1, 0, 1);
}

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

public void write(int b) throws IOException {
 buf1[0]=(byte)b;
 write(buf1, 0, 1);
}

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

public void write(int b) throws IOException {
 buf1[0]=(byte)b;
 write(buf1, 0, 1);
}

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

public void write(int b) throws IOException {
 buf1[0]=(byte)b;
 write(buf1, 0, 1);
}

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

public void write(int b) throws IOException {
 buf1[0]=(byte)b;
 write(buf1, 0, 1);
}

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

protected void sendBufferNow() throws java.io.IOException
{
 if (sockBuf.position() == 0) return;
 sockBuf.flip();
 if (zout != null)
 {
  zout.write(sockBuf.array(), 0, sockBuf.limit());
  zout.flush();
 }
 else
 {
  while (clientSocket != null && sockBuf.hasRemaining())
   clientSocket.write(sockBuf);
 }
 sockBuf.clear();
}

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

public void finish() throws IOException {
 int err;
 if(compress){
  int tmp = flush;
  int flush = JZlib.Z_FINISH;
  try{
   write("".getBytes(), 0, 0);
  }
  finally { flush = tmp; }
 }
 else{
  dos.finish();
 }
 flush();
}
public synchronized void end() {

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

public void finish() throws IOException {
 int err;
 if(compress){
  int tmp = flush;
  int flush = JZlib.Z_FINISH;
  try{
   write("".getBytes(), 0, 0);
  }
  finally { flush = tmp; }
 }
 else{
  dos.finish();
 }
 flush();
}
public synchronized void end() {

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

public void finish() throws IOException {
 int err;
 if(compress){
  int tmp = flush;
  int flush = JZlib.Z_FINISH;
  try{
   write("".getBytes(), 0, 0);
  }
  finally { flush = tmp; }
 }
 else{
  dos.finish();
 }
 flush();
}
public synchronized void end() {

代码示例来源:origin: aurorafeint/jruby-memcached

ByteArrayOutputStream out2 = new ByteArrayOutputStream();
zout = new ZOutputStream(out2, JZlib.Z_DEFAULT_COMPRESSION);
zout.write(out1.toByteArray());
zout.flush();
zout.end();

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