public class CompressedInputStream extends InputStream
| Constructor and Description |
|---|
CompressedInputStream(InputStream in,
RedshiftLogger in_logger) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getBytesReadFromStream() |
static int |
lz4_decompress(byte[] compressed,
int position,
int compressedLen,
byte[] dest,
int dOff,
RedshiftLogger logger)
Implementation of lz4 decompression.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
mark, markSupported, read, resetpublic CompressedInputStream(InputStream in, RedshiftLogger in_logger)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic long getBytesReadFromStream()
public static int lz4_decompress(byte[] compressed,
int position,
int compressedLen,
byte[] dest,
int dOff,
RedshiftLogger logger)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2024 Amazon.com Inc.. All rights reserved.