public class CompressedInputStream
extends java.io.InputStream
CompressionInfo.| Modifier and Type | Field and Description |
|---|---|
protected long |
bufferOffset |
protected int |
validBufferBytes |
| Constructor and Description |
|---|
CompressedInputStream(java.io.InputStream source,
CompressionInfo info,
ChecksumType checksumType,
java.util.function.Supplier<java.lang.Double> crcCheckChanceSupplier) |
| Modifier and Type | Method and Description |
|---|---|
long |
getTotalCompressedBytesRead() |
void |
position(long position) |
int |
read() |
protected long bufferOffset
protected int validBufferBytes
public CompressedInputStream(java.io.InputStream source,
CompressionInfo info,
ChecksumType checksumType,
java.util.function.Supplier<java.lang.Double> crcCheckChanceSupplier)
source - Input source to read compressed data frominfo - Compression infoCopyright © 2016 The Apache Software Foundation