public class RLEDecompressingInputStream extends InputStream
| Constructor and Description |
|---|
RLEDecompressingInputStream(InputStream in)
Creates a new wrapper RLE Decompression InputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
static byte[] |
decompress(byte[] compressed) |
static byte[] |
decompress(byte[] compressed,
int offset,
int length) |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int l) |
int |
readInt()
Convenience method for read a 4-bytes int in little endian encoding.
|
int |
readShort()
Convenience method for read a 2-bytes short in little endian encoding.
|
long |
skip(long n) |
mark, markSupported, resetpublic RLEDecompressingInputStream(InputStream in) throws IOException
in - The stream to wrap with the RLE DecompressionIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int l)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
available in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int readShort()
throws IOException
IOExceptionpublic int readInt()
throws IOException
IOExceptionpublic static byte[] decompress(byte[] compressed)
throws IOException
IOExceptionpublic static byte[] decompress(byte[] compressed,
int offset,
int length)
throws IOException
IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved