本文整理了Java中java.util.zip.GZIPInputStream.skip()
方法的一些代码示例,展示了GZIPInputStream.skip()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GZIPInputStream.skip()
方法的具体详情如下:
包路径:java.util.zip.GZIPInputStream
类名称:GZIPInputStream
方法名:skip
暂无
代码示例来源:origin: pentaho/pentaho-kettle
long bytesSkipped = 0;
while ( bytesSkipped < bytesToSkip ) {
long n = data.gzis.skip( bytesToSkip - bytesSkipped );
if ( n <= 0 ) {
代码示例来源:origin: pentaho/pentaho-kettle
long n = data.gzis.skip( bytesToSkip - bytesSkipped );
if ( n <= 0 ) {
代码示例来源:origin: org.codehaus.izpack/izpack-core
/**
* (non-Javadoc)
*
* @see java.io.InputStream#skip(long)
*/
@Override
public long skip(long n) throws IOException
{
long skipped = zippedInputStream.skip(n);
long count = skipped;
while (skipped != -1 && skipped < n)
{
n -= skipped;
skipped = zippedInputStream.skip(n);
if (skipped != -1)
{
count += skipped;
}
}
if (count != -1)
{
filePointer += count;
}
return count;
}
代码示例来源:origin: ctripcorp/vi
gzipInputStream.skip(skipCount);
gzipInputStream.read(raw, 0, readCount);
}catch (Throwable e){
代码示例来源:origin: jdmp/java-data-mining-package
GZIPInputStream gis2 = new GZIPInputStream(fis2);
gis1.skip(16);
gis2.skip(8);
代码示例来源:origin: ome/formats-bsd
toSkip -= gzipStream.skip(toSkip);
代码示例来源:origin: openmicroscopy/bioformats
toSkip -= gzipStream.skip(toSkip);
代码示例来源:origin: io.scif/scifio
toSkip -= gzipStream.skip(toSkip);
代码示例来源:origin: scifio/scifio
toSkip -= gzipStream.skip(toSkip);
内容来源于网络,如有侵权,请联系作者删除!