gpt4 book ai didi

com.github.luben.zstd.ZstdInputStream类的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 10:13:31 26 4
gpt4 key购买 nike

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

ZstdInputStream介绍

暂无

代码示例

代码示例来源:origin: org.apache.commons/commons-compress

public ZstdCompressorInputStream(final InputStream in) throws IOException {
  this.decIS = new ZstdInputStream(countingStream = new CountingInputStream(in));
}

代码示例来源:origin: org.apache.commons/commons-compress

@Override
public int available() throws IOException {
  return decIS.available();
}

代码示例来源:origin: org.apache.commons/commons-compress

@Override
public void close() throws IOException {
  decIS.close();
}

代码示例来源:origin: org.apache.commons/commons-compress

@Override
public int read(final byte[] b) throws IOException {
  return decIS.read(b);
}

代码示例来源:origin: org.apache.commons/commons-compress

@Override
public void mark(final int readlimit) {
  decIS.mark(readlimit);
}

代码示例来源:origin: org.apache.commons/commons-compress

@Override
public void reset() throws IOException {
  decIS.reset();
}

代码示例来源:origin: org.apache.commons/commons-compress

@Override
public boolean markSupported() {
  return decIS.markSupported();
}

代码示例来源:origin: org.apache.commons/commons-compress

@Override
public int read() throws IOException {
  final int ret = decIS.read();
  count(ret == -1 ? 0 : 1);
  return ret;
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

@Override
public void mark(final int readlimit) {
  decIS.mark(readlimit);
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

@Override
public void reset() throws IOException {
  decIS.reset();
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

@Override
public boolean markSupported() {
  return decIS.markSupported();
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

public ZstdCompressorInputStream(final InputStream in) throws IOException {
  this.decIS = new ZstdInputStream(in);
}

代码示例来源:origin: org.apache.commons/commons-compress

@Override
public int read(final byte[] buf, final int off, final int len) throws IOException {
  final int ret = decIS.read(buf, off, len);
  count(ret);
  return ret;
}

代码示例来源:origin: KostyaSha/yet-another-docker-plugin

@Override
public void close() throws IOException {
  decIS.close();
}

代码示例来源:origin: KostyaSha/yet-another-docker-plugin

@Override
public void mark(final int readlimit) {
  decIS.mark(readlimit);
}

代码示例来源:origin: KostyaSha/yet-another-docker-plugin

@Override
public int available() throws IOException {
  return decIS.available();
}

代码示例来源:origin: KostyaSha/yet-another-docker-plugin

@Override
public void reset() throws IOException {
  decIS.reset();
}

代码示例来源:origin: KostyaSha/yet-another-docker-plugin

@Override
public boolean markSupported() {
  return decIS.markSupported();
}

代码示例来源:origin: usethesource/rascal

private static final InputStream getInputStream(String compressionMethod, InputStream original) throws IOException, CompressorException {
  if (compressionMethod == ZSTD_COMPRESSION) {
    return new ZstdInputStream(original);
  }
  return new CompressorStreamFactory().createCompressorInputStream(compressionMethod, original);
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

@Override
public int read(final byte[] b) throws IOException {
  return decIS.read(b);
}

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